address grumbles
This commit is contained in:
parent
bce6bf92d9
commit
c83d27420c
@ -151,7 +151,7 @@ impl<C: MiningBlockChainClient, M: MinerService> Dispatcher for FullDispatcher<C
|
||||
take_weak!(self.miner).import_own_transaction(&*take_weak!(self.client), signed_transaction)
|
||||
.map_err(errors::from_transaction_error)
|
||||
.map(|_| hash)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/// default MAC to use.
|
||||
|
@ -173,7 +173,7 @@ impl<D: Dispatcher + 'static> ParitySigning for SigningQueueClient<D> {
|
||||
});
|
||||
|
||||
// and wait for that to resolve.
|
||||
p.then(|result| futures::done(result.expect("Ready is never dropped nor canceled."))).boxed()
|
||||
p.then(|result| futures::done(result.expect("Ready is never dropped nor canceled.")))
|
||||
}).boxed()
|
||||
}
|
||||
}
|
||||
@ -195,7 +195,7 @@ impl<D: Dispatcher + 'static> EthSigning for SigningQueueClient<D> {
|
||||
}
|
||||
});
|
||||
|
||||
p.then(|result| futures::done(result.expect("Ready is never dropped nor canceled."))).boxed()
|
||||
p.then(|result| futures::done(result.expect("Ready is never dropped nor canceled.")))
|
||||
}).boxed()
|
||||
}
|
||||
|
||||
@ -213,7 +213,7 @@ impl<D: Dispatcher + 'static> EthSigning for SigningQueueClient<D> {
|
||||
}
|
||||
});
|
||||
|
||||
p.then(|result| futures::done(result.expect("Ready is never dropped nor canceled."))).boxed()
|
||||
p.then(|result| futures::done(result.expect("Ready is never dropped nor canceled.")))
|
||||
}).boxed()
|
||||
}
|
||||
|
||||
@ -231,7 +231,7 @@ impl<D: Dispatcher + 'static> EthSigning for SigningQueueClient<D> {
|
||||
}
|
||||
});
|
||||
|
||||
p.then(|result| futures::done(result.expect("Ready is never dropped nor canceled."))).boxed()
|
||||
p.then(|result| futures::done(result.expect("Ready is never dropped nor canceled.")))
|
||||
}).boxed()
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user