Adding missing commas
This commit is contained in:
parent
b1557b547b
commit
bc04e0c713
@ -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),
|
||||||
|
@ -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(())
|
||||||
|
Loading…
Reference in New Issue
Block a user