chore(testutil): use correct address codec (#18985)

This commit is contained in:
Julien Robert 2024-01-09 14:49:05 +01:00 committed by GitHub
parent 23bea3ea77
commit 7ecdbd0814
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -557,7 +557,7 @@ func New(l Logger, baseDir string, cfg Config) (NetworkI, error) {
WithAccountRetriever(cfg.AccountRetriever).
WithAddressCodec(cfg.AddressCodec).
WithValidatorAddressCodec(cfg.ValidatorAddressCodec).
WithConsensusAddressCodec(cfg.ValidatorAddressCodec).
WithConsensusAddressCodec(cfg.ConsensusAddressCodec).
WithNodeURI(cmtCfg.RPC.ListenAddress)
// Provide ChainID here since we can't modify it in the Comet config.