Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
jstarry committed Sep 17, 2021
1 parent 60c8587 commit 9a44c85
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions programs/bpf_loader/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1724,7 +1724,6 @@ mod tests {
bank.store_account(&buffer_address, &buffer_account);
bank.store_account(&program_keypair.pubkey(), &AccountSharedData::default());
bank.store_account(&programdata_address, &AccountSharedData::default());
let before = bank.get_balance(&payer_keypair.pubkey());
let message = Message::new(
&bpf_loader_upgradeable::deploy_with_max_program_len(
&payer_keypair.pubkey(),
Expand All @@ -1743,8 +1742,7 @@ mod tests {
message
)
.is_ok());
let balance = bank.get_balance(&payer_keypair.pubkey());
assert_eq!(bank.get_balance(&payer_address), 0);
assert_eq!(bank.get_balance(&payer_keypair.pubkey()), 0);
assert_eq!(bank.get_balance(&buffer_address), 0);
assert_eq!(None, bank.get_account(&buffer_address));
let post_program_account = bank.get_account(&program_keypair.pubkey()).unwrap();
Expand Down

0 comments on commit 9a44c85

Please sign in to comment.