Fixing compilation

This commit is contained in:
Tomasz Drwięga 2016-03-18 09:46:13 +01:00
parent 48c72a168c
commit a6bd15d333

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
});