Accounts get kicked if no tokens

This commit is contained in:
Jack May
2018-11-13 17:23:13 -08:00
parent 478ba75d6b
commit e7b6c8b7e0

View File

@ -15,7 +15,7 @@ pub fn id() -> Pubkey {
pub fn account() -> Account { pub fn account() -> Account {
Account { Account {
tokens: 0, tokens: 1,
owner: id(), owner: id(),
userdata: BPF_LOADER_NAME.as_bytes().to_vec(), userdata: BPF_LOADER_NAME.as_bytes().to_vec(),
executable: true, executable: true,