error type implementations

This commit is contained in:
Tadeo hepperle
2024-01-22 18:53:04 +01:00
parent a349daaf45
commit 2c40b14230
32 changed files with 269 additions and 207 deletions
+3 -3
View File
@@ -4,6 +4,7 @@
use std::borrow::Cow;
use crate::prelude::*;
use crate::{
backend::{BackendExt, BlockRef, TransactionStatus},
client::{OfflineClientT, OnlineClientT},
@@ -13,7 +14,6 @@ use crate::{
tx::{Signer as SignerT, TxPayload, TxProgress},
utils::{Encoded, PhantomDataSendSync},
};
use crate::prelude::*;
use codec::{Compact, Decode, Encode};
use derivative::Derivative;
use sp_core_hashing::blake2_256;
@@ -386,7 +386,7 @@ where
pub struct SubmittableExtrinsic<T, C> {
client: C,
encoded: Encoded,
marker: std::marker::PhantomData<T>,
marker: PhantomData<T>,
}
impl<T, C> SubmittableExtrinsic<T, C>
@@ -405,7 +405,7 @@ where
Self {
client,
encoded: Encoded(tx_bytes),
marker: std::marker::PhantomData,
marker: PhantomData,
}
}