mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-14 00:31:07 +00:00
Fix asynchronous transaction rejections. (#3817)
* Fix handling transaction pool errors. * Add test. * Review suggestions.
This commit is contained in:
committed by
Bastian Köcher
parent
ed449bf415
commit
9fe8ee4197
@@ -66,7 +66,7 @@ pub trait ChainApi: Send + Sync {
|
||||
/// Error type.
|
||||
type Error: From<error::Error> + error::IntoPoolError;
|
||||
/// Validate transaction future.
|
||||
type ValidationFuture: Future<Output=Result<TransactionValidity, Self::Error>> + Send;
|
||||
type ValidationFuture: Future<Output=Result<TransactionValidity, Self::Error>> + Send + Unpin;
|
||||
|
||||
/// Verify extrinsic at given block.
|
||||
fn validate_transaction(
|
||||
|
||||
Reference in New Issue
Block a user