Skip to content

Commit

Permalink
Fix FUSD.02 Recipient type
Browse files Browse the repository at this point in the history
  • Loading branch information
relatko committed Nov 10, 2021
1 parent e7c5c41 commit 25d747e
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 21 deletions.
6 changes: 3 additions & 3 deletions app/src/parser.c
Original file line number Diff line number Diff line change
Expand Up @@ -2765,9 +2765,9 @@ parser_error_t parser_getItemTransferFUSD(const parser_context_t *ctx,
outVal, outValLen, pageIdx, pageCount);
case 3:
snprintf(outKey, outKeyLen, "Recipient");
return parser_printArgumentString(&parser_tx_obj.arguments.argCtx[1],
outVal, outValLen, pageIdx, pageCount);
case 4:
return parser_printArgument(&parser_tx_obj.arguments, 1,
"Address", JSMN_STRING,
outVal, outValLen, pageIdx, pageCount); case 4:
snprintf(outKey, outKeyLen, "Ref Block");
return parser_printBlockId(&parser_tx_obj.referenceBlockId, outVal, outValLen, pageIdx, pageCount);
case 5:
Expand Down
2 changes: 1 addition & 1 deletion tests/generate-transaction-tests/manifest.mainnet.json
Original file line number Diff line number Diff line change
Expand Up @@ -1195,7 +1195,7 @@
"label": "Recipient",
"sampleValues": [
{
"type": "String",
"type": "Address",
"value": "0xe467b9dd11fa00df"
}
]
Expand Down
2 changes: 1 addition & 1 deletion tests/generate-transaction-tests/manifest.testnet.json
Original file line number Diff line number Diff line change
Expand Up @@ -1195,7 +1195,7 @@
"label": "Recipient",
"sampleValues": [
{
"type": "String",
"type": "Address",
"value": "0xe467b9dd11fa00df"
}
]
Expand Down
Loading

0 comments on commit 25d747e

Please sign in to comment.