mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-11-19 17:16:09 +00:00
Add unit tests for the equivocation detection loop (#2571)
* Add unit tests for the equivocation detection loop * clippy * use std::future::pending()
This commit is contained in:
1 parent
655a5055cc
commit
4cd9e2fe79
10 files changed
+716
-29
No files matched your search
@@ -142,8 +142,8 @@ pub trait TransactionTracker: Send {
|
||||
}
|
||||
|
||||
/// Future associated with `TransactionTracker`, monitoring the transaction status.
|
||||
pub type TrackedTransactionFuture<T> =
|
||||
BoxFuture<'static, TrackedTransactionStatus<<T as TransactionTracker>::HeaderId>>;
|
||||
pub type TrackedTransactionFuture<'a, T> =
|
||||
BoxFuture<'a, TrackedTransactionStatus<<T as TransactionTracker>::HeaderId>>;
|
||||
|
||||
/// Stringified error that may be either connection-related or not.
|
||||
#[derive(Error, Debug)]
|
||||
|
||||
Reference in new issue
Block a user