mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-15 05:41:07 +00:00
Expose transaction::TransactionProgress as public (#401)
* Update transaction.rs * documentation * Update src/transaction.rs Co-authored-by: James Wilson <james@jsdw.me> * fmt Co-authored-by: James Wilson <james@jsdw.me>
This commit is contained in:
+2
-1
@@ -57,7 +57,8 @@ pub struct TransactionProgress<'client, T: Config> {
|
|||||||
impl<'client, T: Config> Unpin for TransactionProgress<'client, T> {}
|
impl<'client, T: Config> Unpin for TransactionProgress<'client, T> {}
|
||||||
|
|
||||||
impl<'client, T: Config> TransactionProgress<'client, T> {
|
impl<'client, T: Config> TransactionProgress<'client, T> {
|
||||||
pub(crate) fn new(
|
/// Instantiate a new [`TransactionProgress`] from a custom subscription.
|
||||||
|
pub fn new(
|
||||||
sub: RpcSubscription<SubstrateTransactionStatus<T::Hash, T::Hash>>,
|
sub: RpcSubscription<SubstrateTransactionStatus<T::Hash, T::Hash>>,
|
||||||
client: &'client Client<T>,
|
client: &'client Client<T>,
|
||||||
ext_hash: T::Hash,
|
ext_hash: T::Hash,
|
||||||
|
|||||||
Reference in New Issue
Block a user