From a6bd15d333c25f3ac28ee95c3287f7849f34733d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20Drwi=C4=99ga?= Date: Fri, 18 Mar 2016 09:46:13 +0100 Subject: [PATCH] Fixing compilation --- miner/src/miner.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/miner/src/miner.rs b/miner/src/miner.rs index 660fc55f9..4448b721b 100644 --- a/miner/src/miner.rs +++ b/miner/src/miner.rs @@ -137,7 +137,10 @@ impl MinerService for Miner { let mut queue = self.transaction_queue.lock().unwrap(); queue.remove_all( &invalid_transactions.into_iter().collect::>(), - |a: &Address| chain.nonce(a) + |a: &Address| AccountDetails { + nonce: chain.nonce(a), + balance: chain.balance(a), + } ); block });