From ba9a362d023a711c5433e33e0f59561dc282f897 Mon Sep 17 00:00:00 2001 From: antiochp <30642645+antiochp@users.noreply.github.com> Date: Tue, 22 Jan 2019 14:12:46 +0000 Subject: [PATCH] rustfmt --- servers/src/mining/mine_block.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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();