From 4bc58ca2adf6c61bb417648281852ce7d2ec74da Mon Sep 17 00:00:00 2001 From: Charlie Chen Date: Sat, 18 May 2024 13:04:54 -0500 Subject: [PATCH] resolved conflict in ObserveInTx() --- zetaclient/chains/bitcoin/observer/inbound.go | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/zetaclient/chains/bitcoin/observer/inbound.go b/zetaclient/chains/bitcoin/observer/inbound.go index 14e5555340..c0e1ea4632 100644 --- a/zetaclient/chains/bitcoin/observer/inbound.go +++ b/zetaclient/chains/bitcoin/observer/inbound.go @@ -112,17 +112,6 @@ func (ob *Observer) ObserveInTx() error { // filter incoming txs to TSS address tssAddress := ob.Tss.BTCAddress() - // add block header to zetacore - // TODO: consider having a separate ticker(from TSS scaning) for posting block headers - // https://github.com/zeta-chain/node/issues/1847 - blockHeaderVerification, found := ob.coreContext.GetBlockHeaderEnabledChains(ob.chain.ChainId) - if found && blockHeaderVerification.Enabled { - err = ob.postBlockHeader(blockNumber) - if err != nil { - ob.logger.InTx.Warn().Err(err).Msgf("observeInTxBTC: error posting block header %d", blockNumber) - } - } - // #nosec G701 always positive inTxs, err := FilterAndParseIncomingTx( ob.rpcClient,