Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
xembook opened this issue Feb 26, 2023 · 0 comments
Assignees

Comments

@xembook
Copy link

xembook commented Feb 26, 2023

  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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants