mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-09 20:11:09 +00:00
wait_for_finalized behavior if the tx dropped, usurped or invalid (#897)
* consider dropped, invalid and usurped as finalized * test structure * unit tests * move tests to tx_progress file * integrate pr review comments * integrate pr review comments (including revert)
This commit is contained in:
@@ -166,7 +166,8 @@ impl<Res> std::fmt::Debug for Subscription<Res> {
|
||||
}
|
||||
|
||||
impl<Res> Subscription<Res> {
|
||||
fn new(inner: RpcSubscription) -> Self {
|
||||
/// Creates a new [`Subscription`].
|
||||
pub fn new(inner: RpcSubscription) -> Self {
|
||||
Self {
|
||||
inner,
|
||||
_marker: std::marker::PhantomData,
|
||||
|
||||
Reference in New Issue
Block a user