Skip to content

Commit

Permalink
fix linter complaints
Browse files Browse the repository at this point in the history
  • Loading branch information
brewmaster012 committed Nov 5, 2023
1 parent 75d2f00 commit 5bcc402
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
3 changes: 3 additions & 0 deletions contrib/localnet/orchestrator/smoketest/test_block_headers.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
//go:build PRIVNET
// +build PRIVNET

package main

import (
Expand Down
5 changes: 4 additions & 1 deletion zetaclient/bitcoin_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,10 @@ func (ob *BitcoinChainClient) observeInTx() error {

// add block header to zetacore
// #nosec G701 always positive
ob.postBlockHeader(bn)
err = ob.postBlockHeader(bn)
if err != nil {
ob.logger.WatchInTx.Warn().Err(err).Msgf("error posting block header %d", bn)
}

tssAddress := ob.Tss.BTCAddress()
// #nosec G701 always positive
Expand Down

0 comments on commit 5bcc402

Please sign in to comment.