diff --git a/servers/src/mining/mine_block.rs b/servers/src/mining/mine_block.rs index 7a21cf895..379ac45a9 100644 --- a/servers/src/mining/mine_block.rs +++ b/servers/src/mining/mine_block.rs @@ -111,7 +111,10 @@ fn build_block( // If this fails for *any* reason then fallback to an empty vec of txs. // This will allow us to mine an "empty" block if the txpool is in an // invalid (and unexpected) state. - let txs = tx_pool.read().prepare_mineable_transactions().unwrap_or(vec![]); + let txs = tx_pool + .read() + .prepare_mineable_transactions() + .unwrap_or(vec![]); // build the coinbase and the block itself let fees = txs.iter().map(|tx| tx.fee()).sum();