We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d59d96f commit 868b071Copy full SHA for 868b071
src/core/transaction/AssetMintTransaction.ts
@@ -168,7 +168,7 @@ export class AssetMintTransaction {
168
metadata,
169
lockScriptHash.toEncodeObject(),
170
parameters.map(parameter => Buffer.from(parameter)),
171
- amount ? [amount] : [],
+ amount !== null ? [amount] : [],
172
registrar ? [registrar.getAccountId().toEncodeObject()] : [],
173
nonce
174
];
0 commit comments