Skip to content

Instantly share code, notes, and snippets.

@michielmulders
Last active July 30, 2019 14:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save michielmulders/723c06d78ebd9688a6a702357ec3f0ce to your computer and use it in GitHub Desktop.
Save michielmulders/723c06d78ebd9688a6a702357ec3f0ce to your computer and use it in GitHub Desktop.
Payment Transaction Prepare
async prepare(store) {
await super.prepare(store);
await store.transaction.cache([
{
id: this.asset.data,
},
]);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment