Rename tokens to lamports in sdk/

This commit is contained in:
Michael Vines
2019-03-05 16:28:14 -08:00
parent bd237a2d6f
commit 53f09c44f3
33 changed files with 324 additions and 306 deletions

View File

@ -16,7 +16,7 @@ pub fn check_id(program_id: &Pubkey) -> bool {
/// Create an executable account with the given shared object name.
pub fn create_program_account(name: &str) -> Account {
Account {
tokens: 1,
lamports: 1,
owner: id(),
userdata: name.as_bytes().to_vec(),
executable: true,