Update system_instruction_processor.rs

This commit is contained in:
Michael Vines
2020-06-02 23:34:32 -07:00
parent 578d77495a
commit 862fd63bb4

View File

@ -628,8 +628,6 @@ mod tests {
assert_eq!(*owned_account.borrow(), unchanged_account); assert_eq!(*owned_account.borrow(), unchanged_account);
// Attempt to create an account that already has lamports // Attempt to create an account that already has lamports
//let mut owned_account = Account::new(1, 0, &Pubkey::default());
//let unchanged_account = owned_account.clone();
let unchanged_account = owned_account.borrow().clone(); let unchanged_account = owned_account.borrow().clone();
let result = create_account( let result = create_account(
&KeyedAccount::new(&from, true, &from_account), &KeyedAccount::new(&from, true, &from_account),