Skip to content

Commit

Permalink
fix gosec error
Browse files Browse the repository at this point in the history
  • Loading branch information
ws4charlie committed Oct 12, 2023
1 parent bb8de02 commit 7cdc29a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions zetaclient/bitcoin_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7cdc29a

Please sign in to comment.