We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 06f03cc commit 8b24acaCopy full SHA for 8b24aca
client.go
@@ -90,6 +90,8 @@ func (c *Client) GetTransactionStatus(id string) (*types.TxStatus, error) {
90
txStatus := &types.TxStatus{}
91
err = json.Unmarshal(body, txStatus)
92
return txStatus, err
93
+ case 202:
94
+ return nil, ErrPendingTx
95
case 404:
96
return nil, ErrNotFound
97
default:
0 commit comments