mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-12 14:41:11 +00:00
backend: Derive debug for seenblocks
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
This commit is contained in:
@@ -437,10 +437,12 @@ impl<T: Config + Send + Sync + 'static> Backend<T> for UnstableBackend<T> {
|
||||
extrinsic: &[u8],
|
||||
) -> Result<StreamOfResults<TransactionStatus<T::Hash>>, Error> {
|
||||
// We care about new and finalized block hashes.
|
||||
#[derive(Debug)]
|
||||
enum SeenBlock<Ref> {
|
||||
New(Ref),
|
||||
Finalized(Vec<Ref>),
|
||||
}
|
||||
#[derive(Debug)]
|
||||
enum SeenBlockMarker {
|
||||
New,
|
||||
Finalized,
|
||||
|
||||
Reference in New Issue
Block a user