This commit is contained in:
Caio
2019-09-02 11:25:44 -03:00
committed by Bastian Köcher
parent 42750edd52
commit db7cd526e4
2 changed files with 2 additions and 3 deletions
+1 -1
View File
@@ -52,7 +52,7 @@ pub trait SlotWorker<B: BlockT> {
fn on_slot(&mut self, chain_head: B::Header, slot_info: SlotInfo) -> Self::OnSlot;
}
/// A skeleton implementation for `SlotWorker` which tries to claim a slot at at
/// A skeleton implementation for `SlotWorker` which tries to claim a slot at
/// its beginning and tries to produce a block if successfully claimed, timing
/// out if block production takes too long.
pub trait SimpleSlotWorker<B: BlockT> {
@@ -134,8 +134,7 @@ impl<B: ChainApi> Pool<B> {
} else {
Ok(base::Transaction {
data: xt,
bytes
,
bytes,
hash,
priority: validity.priority,
requires: validity.requires,