Skip to content
This repository has been archived by the owner on Jun 7, 2019. It is now read-only.

Add getOrDefault for StateStore.account #1091

Closed
shuse2 opened this issue Feb 11, 2019 · 0 comments
Closed

Add getOrDefault for StateStore.account #1091

shuse2 opened this issue Feb 11, 2019 · 0 comments

Comments

@shuse2
Copy link
Contributor

shuse2 commented Feb 11, 2019

Expected behavior

User should know when to initialize the account.
Also, Account.publicKey should be optional

Actual behavior

StateStore.account.get expects to create account if doesn't exist

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

No branches or pull requests

1 participant