System program is now registered like all other native programs (#5526)
This commit is contained in:
@@ -8,7 +8,7 @@ use crate::poh_config::PohConfig;
|
||||
use crate::pubkey::Pubkey;
|
||||
use crate::rent::Rent;
|
||||
use crate::signature::{Keypair, KeypairUtil};
|
||||
use crate::system_program;
|
||||
use crate::system_program::{self, solana_system_program};
|
||||
use crate::timing::{DEFAULT_SLOTS_PER_EPOCH, DEFAULT_SLOTS_PER_SEGMENT, DEFAULT_TICKS_PER_SLOT};
|
||||
use bincode::{deserialize, serialize};
|
||||
use memmap::Mmap;
|
||||
@@ -41,7 +41,7 @@ pub fn create_genesis_block(lamports: u64) -> (GenesisBlock, Keypair) {
|
||||
mint_keypair.pubkey(),
|
||||
Account::new(lamports, 0, &system_program::id()),
|
||||
)],
|
||||
&[],
|
||||
&[solana_system_program()],
|
||||
),
|
||||
mint_keypair,
|
||||
)
|
||||
|
Reference in New Issue
Block a user