-
Notifications
You must be signed in to change notification settings - Fork 17
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
- The parameter of
AssetMintOutput.fromJSONis not declared as JSON object.
codechain-sdk-js/src/core/transaction/AssetMintOutput.ts
Lines 13 to 16 in 023fb7e
public static fromJSON(data: { lockScriptHash: string; parameters: Buffer[]; amount: number | null; - The parameter of
AssetTransferOutput.fromJSONis not declared as JSON object.
public static fromJSON(data: AssetTransferOutputData) { -
outputfield of the parameter ofAssetMintTransactionshould not be aAssetMintOutput
codechain-sdk-js/src/core/transaction/AssetMintTransaction.ts
Lines 67 to 82 in 023fb7e
constructor(data: { networkId: NetworkId; shardId: number; metadata: string; output: AssetMintOutput; registrar: PlatformAddress | null; nonce: number; }) { const { networkId, shardId, metadata, output, registrar, nonce } = data; this.networkId = networkId; this.shardId = shardId; this.metadata = metadata; this.output = new AssetMintOutput(output); this.registrar = registrar; this.nonce = nonce; }
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working