Cleanup use (bp #16327) (#16328)

* Cleanup use (#16327)

(cherry picked from commit dee655df35)

# Conflicts:
#	Cargo.lock
#	program-test/Cargo.toml

* resolve conflicts

Co-authored-by: Jack May <jack@solana.com>
This commit is contained in:
mergify[bot]
2021-04-02 19:54:00 +00:00
committed by GitHub
parent 23b9e6eae3
commit 8fd3465f8a
8 changed files with 46 additions and 79 deletions

View File

@@ -42,7 +42,7 @@ pub fn spl_programs(rent: &Rent) -> Vec<(Pubkey, AccountSharedData)> {
AccountSharedData::from(Account {
lamports: rent.minimum_balance(elf.len()).min(1),
data: elf.to_vec(),
owner: solana_program::bpf_loader::id(),
owner: solana_sdk::bpf_loader::id(),
executable: true,
rent_epoch: 0,
}),