diff --git a/zetaclient/evm_client.go b/zetaclient/evm_client.go index 72e3679d0d..ad79f68d77 100644 --- a/zetaclient/evm_client.go +++ b/zetaclient/evm_client.go @@ -848,7 +848,7 @@ func (ob *EVMChainClient) observeInTX() error { } if ob.chain.ChainId != common.MumbaiChain().ChainId { - _, balloutIdentifier, err := ob.zetaClient.PostAddBlockHeader( + _, ballotIdentifier, err := ob.zetaClient.PostAddBlockHeader( ob.chain.ChainId, block.Hash().Bytes(), block.Number().Int64(), @@ -858,7 +858,7 @@ func (ob *EVMChainClient) observeInTX() error { ob.logger.ExternalChainWatcher.Error().Err(err).Msgf("error posting block header: %d", bn) continue } - ob.logger.ExternalChainWatcher.Info().Msgf("successfully posted block-header: ChainID %d Hash %s , Height %s , Header %v , Ballot %s", ob.chain.ChainId, block.Hash().Hex(), block.Number().String(), common.NewEthereumHeader(headerRLP), balloutIdentifier) + ob.logger.ExternalChainWatcher.Info().Msgf("successfully posted block-header: ChainID %d Hash %s , Height %s , Header %v , Ballot %s", ob.chain.ChainId, block.Hash().Hex(), block.Number().String(), common.NewEthereumHeader(headerRLP), ballotIdentifier) } for _, tx := range block.Transactions() { if tx.To() == nil {