mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-16 23:41:02 +00:00
Manual seal delayed finalize (#13999)
* up * up * added test * remove unncessary dep * cargo fmt * cargo fmt * up * Update client/consensus/manual-seal/src/lib.rs Co-authored-by: Bastian Köcher <git@kchr.de> * fix test * cargo fmt * added docs * updated doc --------- Co-authored-by: Bastian Köcher <git@kchr.de> Co-authored-by: parity-processbot <>
This commit is contained in:
committed by
GitHub
parent
793f04fc05
commit
57f2468e31
@@ -160,10 +160,11 @@ pub fn send_result<T: std::fmt::Debug>(
|
||||
}
|
||||
}
|
||||
} else {
|
||||
// instant seal doesn't report errors over rpc, simply log them.
|
||||
// Sealing/Finalization with no RPC sender such as instant seal or delayed finalize doesn't
|
||||
// report errors over rpc, simply log them.
|
||||
match result {
|
||||
Ok(r) => log::info!("Instant Seal success: {:?}", r),
|
||||
Err(e) => log::error!("Instant Seal encountered an error: {}", e),
|
||||
Ok(r) => log::info!("Consensus with no RPC sender success: {:?}", r),
|
||||
Err(e) => log::error!("Consensus with no RPC sender encountered an error: {}", e),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user