From 7cdc29afd69965a229529e8ff4de35dbc7b9d45e Mon Sep 17 00:00:00 2001 From: charliec Date: Thu, 12 Oct 2023 10:08:54 -0500 Subject: [PATCH] fix gosec error --- zetaclient/bitcoin_client.go | 1 + 1 file changed, 1 insertion(+) diff --git a/zetaclient/bitcoin_client.go b/zetaclient/bitcoin_client.go index 5c5bda3e51..6f68f28a7a 100644 --- a/zetaclient/bitcoin_client.go +++ b/zetaclient/bitcoin_client.go @@ -425,6 +425,7 @@ func (ob *BitcoinChainClient) IsSendOutTxProcessed(sendHash string, nonce uint64 zetaHash, err := ob.zetaClient.PostReceiveConfirmation( sendHash, res.TxID, + // #nosec G701 always positive uint64(res.BlockIndex), 0, // gas used not used with Bitcoin nil, // gas price not used with Bitcoin