tests: .lamports= -> .set_lamports() (#16977)
* .lamports= -> .set_lamports() * another * fix * another
This commit is contained in:
committed by
GitHub
parent
0af84bb91e
commit
6f88aeac56
@@ -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
|
||||
|
Reference in New Issue
Block a user