Skip to content

Commit 8b24aca

Browse files
committed
feat(): fix client err
1 parent 06f03cc commit 8b24aca

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

client.go

+2
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,8 @@ func (c *Client) GetTransactionStatus(id string) (*types.TxStatus, error) {
9090
txStatus := &types.TxStatus{}
9191
err = json.Unmarshal(body, txStatus)
9292
return txStatus, err
93+
case 202:
94+
return nil, ErrPendingTx
9395
case 404:
9496
return nil, ErrNotFound
9597
default:

0 commit comments

Comments
 (0)