Skip to content

Commit

Permalink
fix: docstring test for mempool
Browse files Browse the repository at this point in the history
  • Loading branch information
Sword-Smith committed Oct 15, 2024
1 parent 5566097 commit 0987997
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/models/state/mempool.rs
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,7 @@ impl Mempool {
///
/// let network = Network::Main;
/// let genesis_block = Block::genesis_block(network);
/// let mempool = Mempool::new(ByteSize::gb(1), genesis_block.hash());
/// let mempool = Mempool::new(ByteSize::gb(1), None, genesis_block.hash());
/// // insert transactions here.
/// let mut most_valuable_transactions = vec![];
/// for (transaction_id, fee_density) in mempool.get_sorted_iter() {
Expand Down

0 comments on commit 0987997

Please sign in to comment.