Temporarily revert: Convert System Transfer accounts to credit-only (#4670)

This commit is contained in:
Tyera Eulberg
2019-06-13 11:01:09 -06:00
committed by GitHub
parent a016bc2736
commit 8abf22f34b
2 changed files with 12 additions and 7 deletions

View File

@ -90,7 +90,7 @@ pub fn assign(from_pubkey: &Pubkey, program_id: &Pubkey) -> Instruction {
pub fn transfer(from_pubkey: &Pubkey, to_pubkey: &Pubkey, lamports: u64) -> Instruction {
let account_metas = vec![
AccountMeta::new(*from_pubkey, true),
AccountMeta::new_credit_only(*to_pubkey, false),
AccountMeta::new(*to_pubkey, false),
];
Instruction::new(
system_program::id(),