mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-14 05:11:09 +00:00
Map finality timeout to Dropped instead of Invalid (#1953)
This commit is contained in:
@@ -382,7 +382,7 @@ impl<T: Config + Send + Sync + 'static> Backend<T> for LegacyBackend<T> {
|
||||
}
|
||||
// These 5 mean that the stream will very likely end:
|
||||
RpcTransactionStatus::FinalityTimeout(_) => {
|
||||
Some(TransactionStatus::Invalid {
|
||||
Some(TransactionStatus::Dropped {
|
||||
message: "Finality timeout".into(),
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user