diff --git a/Cargo.lock b/Cargo.lock index 0c4844a6ee..08959a7bb9 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2415,6 +2415,7 @@ version = "0.39.0" dependencies = [ "assert_matches", "cfg_aliases", + "frame-decode", "frame-metadata 20.0.0", "futures", "hex", diff --git a/subxt/src/backend/legacy.rs b/subxt/src/backend/legacy.rs index 39fa9d1893..5c317fd32f 100644 --- a/subxt/src/backend/legacy.rs +++ b/subxt/src/backend/legacy.rs @@ -382,7 +382,7 @@ impl Backend for LegacyBackend { } // These 5 mean that the stream will very likely end: RpcTransactionStatus::FinalityTimeout(_) => { - Some(TransactionStatus::Invalid { + Some(TransactionStatus::Dropped { message: "Finality timeout".into(), }) }