Fixing compilation

This commit is contained in:
Tomasz Drwięga 2016-03-18 09:46:13 +01:00 committed by arkpar
parent fbc85e31c2
commit 4d984ead4f

View File

@ -137,7 +137,10 @@ impl MinerService for Miner {
let mut queue = self.transaction_queue.lock().unwrap();
queue.remove_all(
&invalid_transactions.into_iter().collect::<Vec<H256>>(),
|a: &Address| chain.nonce(a)
|a: &Address| AccountDetails {
nonce: chain.nonce(a),
balance: chain.balance(a),
}
);
block
});