GenesisBlock::new(X) => create_genesis_block(X)

This commit is contained in:
Michael Vines 2019-05-07 12:34:17 -07:00
parent 2621aeee82
commit 2c78a93001
No known key found for this signature in database
GPG Key ID: 33F4FDEC4E0E88BD
1 changed files with 1 additions and 1 deletions

View File

@ -1257,7 +1257,7 @@ mod tests {
#[test] #[test]
fn test_bank_process_and_record_transactions_account_in_use() { fn test_bank_process_and_record_transactions_account_in_use() {
solana_logger::setup(); solana_logger::setup();
let (genesis_block, mint_keypair) = GenesisBlock::new(10_000); let (genesis_block, mint_keypair) = create_genesis_block(10_000);
let bank = Arc::new(Bank::new(&genesis_block)); let bank = Arc::new(Bank::new(&genesis_block));
let pubkey = Pubkey::new_rand(); let pubkey = Pubkey::new_rand();
let pubkey1 = Pubkey::new_rand(); let pubkey1 = Pubkey::new_rand();