Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
lumtis committed May 10, 2024
1 parent 09e2dfd commit 2706c3c
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions zetaclient/bitcoin/bitcoin_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -403,10 +403,10 @@ func (ob *BTCChainClient) WatchInbound() {
sampledLogger.Info().Msgf("WatchInbound: inbound observation is disabled for chain %d", ob.chain.ChainId)
continue
}
err := ob.ObserveInbound()
if err != nil {
//ob.logger.Inbound.Error().Err(err).Msg("WatchInbound error observing in tx")
}
_ = ob.ObserveInbound()
//if err != nil {
// //ob.logger.Inbound.Error().Err(err).Msg("WatchInbound error observing in tx")
//}
ticker.UpdateInterval(ob.GetChainParams().InboundTicker, ob.logger.Inbound)
case <-ob.stop:
ob.logger.Inbound.Info().Msgf("WatchInbound stopped for chain %d", ob.chain.ChainId)
Expand Down Expand Up @@ -938,10 +938,10 @@ func (ob *BTCChainClient) WatchUTXOS() {
if !ob.GetChainParams().IsSupported {
continue
}
err := ob.FetchUTXOS()
if err != nil {
//ob.logger.UTXOS.Error().Err(err).Msg("error fetching btc utxos")
}
_ = ob.FetchUTXOS()
//if err != nil {
//ob.logger.UTXOS.Error().Err(err).Msg("error fetching btc utxos")
//}
ticker.UpdateInterval(ob.GetChainParams().WatchUtxoTicker, ob.logger.UTXOS)
case <-ob.stop:
ob.logger.UTXOS.Info().Msgf("WatchUTXOS stopped for chain %d", ob.chain.ChainId)
Expand Down

0 comments on commit 2706c3c

Please sign in to comment.