Skip to content

Commit

Permalink
fix bank server test
Browse files Browse the repository at this point in the history
  • Loading branch information
tao-stones committed Dec 20, 2023
1 parent 068db48 commit 6bf23ed
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion banks-client/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -581,7 +581,9 @@ mod tests {
// It creates a runtime explicitly (no globals via tokio macros) and calls
// `runtime.block_on()` just once, to run all the async code.

let genesis = create_genesis_config(10);
// Fund payer account with minimal transaction fee for one signature, plus some extra.
let mint_lamports = 10 + solana_sdk::fee::FeeStructure::default().lamports_per_signature;
let genesis = create_genesis_config(mint_lamports);
let bank = Bank::new_for_tests(&genesis.genesis_config);
let slot = bank.slot();
let block_commitment_cache = Arc::new(RwLock::new(
Expand Down

0 comments on commit 6bf23ed

Please sign in to comment.