mirror of
https://github.com/aljazceru/ark.git
synced 2025-12-17 04:04:21 +01:00
[SDK] Fix return values in rest SubmitRedeemTx
This commit is contained in:
@@ -401,7 +401,10 @@ func (a *restClient) SubmitRedeemTx(
|
|||||||
resp, err := a.svc.ArkServiceSubmitRedeemTx(
|
resp, err := a.svc.ArkServiceSubmitRedeemTx(
|
||||||
ark_service.NewArkServiceSubmitRedeemTxParams().WithBody(req),
|
ark_service.NewArkServiceSubmitRedeemTxParams().WithBody(req),
|
||||||
)
|
)
|
||||||
return resp.Payload.SignedRedeemTx, err
|
if err != nil {
|
||||||
|
return "", err
|
||||||
|
}
|
||||||
|
return resp.Payload.SignedRedeemTx, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func (a *restClient) GetRound(
|
func (a *restClient) GetRound(
|
||||||
|
|||||||
Reference in New Issue
Block a user