Skip to content

The revocable attribute is missing when generating a MethodDefinitionTransaction from a payload. #849

@xembook

Description

@xembook
  1. Expected behavior and actual behavior.

I want to create MethodDefinitionTransaction from payload,
but the revocable attribute is missing

const mosaicDefTx = MosaicDefinitionTransaction.create( ... );
  console.log(mosaicDefTx);
  const serializedTx = mosaicDefTx.serialize();
  const deserializedTx = MosaicDefinitionTransaction.createFromPayload(serializedTx);
  console.log(deserializedTx);

This may be due to the fact that Revocable is not mentioned here.

Thank you for your consideration.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions