Rename tokens to lamports in programs/

This commit is contained in:
Michael Vines
2019-03-05 17:27:25 -08:00
parent 0604bbb473
commit 3129e299e4
11 changed files with 77 additions and 71 deletions

View File

@@ -19,14 +19,14 @@ impl RewardsTransaction {
from_keypair: &Keypair,
rewards_id: Pubkey,
blockhash: Hash,
num_tokens: u64,
lamports: u64,
fee: u64,
) -> Transaction {
SystemTransaction::new_program_account(
from_keypair,
rewards_id,
blockhash,
num_tokens,
lamports,
RewardsState::max_size() as u64,
id(),
fee,