Skip to content

Commit

Permalink
Update zetaclient/chains/bitcoin/observer/outbound.go
Browse files Browse the repository at this point in the history
Co-authored-by: Charlie Chen <[email protected]>
  • Loading branch information
lumtis and ws4charlie authored May 20, 2024
1 parent 15bae4c commit 7bd7c11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zetaclient/chains/bitcoin/observer/outbound.go
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ func (ob *Observer) getOutboundidByNonce(nonce uint64, test bool) (string, error
// make sure it's a real Bitcoin txid
_, getTxResult, err := GetTxResultByHash(ob.rpcClient, txid)
if err != nil {
return "", errors.Wrapf(err, "getOutboundidByNonce: error getting outbound result for nonce %d hash %s", nonce, txid)
return "", errors.Wrapf(err, "getOutboundIDByNonce: error getting outbound result for nonce %d hash %s", nonce, txid)
}
if getTxResult.Confirmations <= 0 { // just a double check
return "", fmt.Errorf("getOutboundidByNonce: outbound txid %s for nonce %d is not included", txid, nonce)
Expand Down

0 comments on commit 7bd7c11

Please sign in to comment.