Adding missing commas

This commit is contained in:
Tomasz Drwięga 2016-03-17 11:49:56 +01:00
parent b1557b547b
commit bc04e0c713
2 changed files with 2 additions and 2 deletions

View File

@ -372,7 +372,7 @@ impl<C, S, A, M, EM> Eth for EthClient<C, S, A, M, EM>
let import = miner.import_transactions(vec![signed_transaction], |a: &Address| AccountDetails { let import = miner.import_transactions(vec![signed_transaction], |a: &Address| AccountDetails {
nonce: client.nonce(a), nonce: client.nonce(a),
balance: client.balance(a) balance: client.balance(a),
}); });
match import { match import {
Ok(_) => to_value(&hash), Ok(_) => to_value(&hash),

View File

@ -948,7 +948,7 @@ impl ChainSync {
let chain = io.chain(); let chain = io.chain();
let fetch_account = |a: &Address| AccountDetails { let fetch_account = |a: &Address| AccountDetails {
nonce: chain.nonce(a), nonce: chain.nonce(a),
balance: chain.balance(a) balance: chain.balance(a),
}; };
let _ = self.miner.import_transactions(transactions, fetch_account); let _ = self.miner.import_transactions(transactions, fetch_account);
Ok(()) Ok(())