Skip to content

Commit

Permalink
LIBS-95: change quantity field to amount in burnTx
Browse files Browse the repository at this point in the history
  • Loading branch information
nazhmik committed Aug 20, 2020
1 parent 1f88fd3 commit 646e166
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/schemas.ts
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ export const burnSchemaV2: TSchema = {
txFields.chainId,
txFields.senderPublicKey,
txFields.assetId,
txFields.quantity,
txFields.amount,
txFields.fee,
txFields.timestamp,
],
Expand Down
2 changes: 1 addition & 1 deletion test/exampleTxs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export const burnTx = {
['3JYfajBS1KJFSu3cdkF3f3JpH9kGVPR1R1YEgV7LHCHJyQXa82k7SMu9rqwpMvAqCXoQeJa5rEQPF9NY9rnufUan'],
id: '6X7Fe82PcVeU9qMtscBA2fBzrSf96PtAwrynViR3zRjP',
assetId: 'HWrQzacRTf3iWYpcRXdCGd6vF9VU5fL6Psy1ypfJYoM6',
quantity: 10000,
amount: 10000,
}

export const leaseTx = {
Expand Down

0 comments on commit 646e166

Please sign in to comment.