lamports= -> .set_lamports() (#16978)
This commit is contained in:
committed by
GitHub
parent
ac87bc40ca
commit
0af84bb91e
@ -3455,7 +3455,10 @@ mod tests {
|
||||
);
|
||||
}
|
||||
// reset balance
|
||||
stake_keyed_account.account.borrow_mut().lamports = total_lamports;
|
||||
stake_keyed_account
|
||||
.account
|
||||
.borrow_mut()
|
||||
.set_lamports(total_lamports);
|
||||
|
||||
// lockup has expired
|
||||
let to_keyed_account = KeyedAccount::new(&to, false, &to_account);
|
||||
|
Reference in New Issue
Block a user