Skip to content

Commit

Permalink
Empty attached payments must be an empty RIDE list not Unit (#396)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexeykiselev authored Dec 4, 2020
1 parent 0ba3c16 commit 4193651
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/ride/converters.go
Original file line number Diff line number Diff line change
Expand Up @@ -859,7 +859,7 @@ func invokeScriptWithProofsToObject(scheme byte, tx *proto.InvokeScriptWithProof
r["payments"] = pl
default:
r["payment"] = rideUnit{}
r["payments"] = rideUnit{}
r["payments"] = make(rideList, 0)
}
r["feeAssetId"] = optionalAsset(tx.FeeAsset)
r["function"] = rideString(tx.FunctionCall.Name)
Expand Down

0 comments on commit 4193651

Please sign in to comment.