Skip to content

Instantly share code, notes, and snippets.

@KasraAb
Created November 2, 2020 16:31
Show Gist options
  • Save KasraAb/603780bdbdd89a6b4ffffc5d9d53c561 to your computer and use it in GitHub Desktop.
Save KasraAb/603780bdbdd89a6b4ffffc5d9d53c561 to your computer and use it in GitHub Desktop.
BondTransfer
//update bond's account
const updated_bond = {...bond, asset: {...bond.asset, ownerId: this.asset.newOwnerId}};
store.account.set(updated_bond.address, updated_bond);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment