lamports = -> .set_lamports() (#16980)

This commit is contained in:
Jeff Washington (jwash)
2021-04-30 16:17:05 -05:00
committed by GitHub
parent 5e74cede4e
commit 763c04adf3
5 changed files with 18 additions and 7 deletions

View File

@ -108,7 +108,9 @@ fn test_bad_bank_hash() {
existing.insert(idx);
break;
}
accounts_keys[idx].1.lamports = thread_rng().gen_range(0, 1000);
accounts_keys[idx]
.1
.set_lamports(thread_rng().gen_range(0, 1000));
});
let account_refs: Vec<_> = existing