Skip to content

Commit 9be7bf9

Browse files
committed
cargo fmt --all -- --config imports_granularity=Crate
1 parent f46aca9 commit 9be7bf9

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

crates/concensus/miner/src/pool/queue.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -547,7 +547,10 @@ impl TransactionQueue {
547547
}
548548

549549
/// Returns status of a local transaction by its hash.
550-
pub fn local_transaction_status(&self, tx_hash: &H256) -> Option<crate::pool::local_transactions::Status> {
550+
pub fn local_transaction_status(
551+
&self,
552+
tx_hash: &H256,
553+
) -> Option<crate::pool::local_transactions::Status> {
551554
self.pool
552555
.read()
553556
.listener()

crates/ethcore/src/engines/hbbft/keygen_transactions.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -159,9 +159,7 @@ impl KeygenTransactionSender {
159159
// make sure we did not just witness block inclusion.
160160
if let Some(full_client) = client.as_full_client() {
161161
if let Some(transaction) = full_client.block_transaction(
162-
types::ids::TransactionId::Hash(
163-
last_sent.transaction_hash,
164-
),
162+
types::ids::TransactionId::Hash(last_sent.transaction_hash),
165163
) {
166164
// our service transaction got included.
167165
warn!(target: "engine", "key gen transaction got included in block {} but we are still in wrong state ?!", transaction.block_number);

0 commit comments

Comments
 (0)