tests: .lamports= -> .set_lamports() (#16977)

* .lamports= -> .set_lamports()

* another

* fix

* another
This commit is contained in:
Jeff Washington (jwash)
2021-04-30 13:44:15 -05:00
committed by GitHub
parent 0af84bb91e
commit 6f88aeac56
3 changed files with 4 additions and 4 deletions

View File

@@ -1696,7 +1696,7 @@ mod tests {
assert!(post_state.is_uninitialized());
// reset balance and restore state, verify that authorized_withdrawer works
vote_account.borrow_mut().lamports = lamports;
vote_account.borrow_mut().set_lamports(lamports);
vote_account.borrow_mut().set_state(&pre_state).unwrap();
// authorize authorized_withdrawer