add pendingtransaction must_use
This commit is contained in:
parent
2840b734dc
commit
770b21b4a3
|
@ -56,6 +56,7 @@ use wasm_timer::Delay;
|
|||
/// # }
|
||||
/// ```
|
||||
#[pin_project]
|
||||
#[must_use = "A PendingTransaction is a future and it must be polled or awaited to completion"]
|
||||
pub struct PendingTransaction<'a, P> {
|
||||
tx_hash: TxHash,
|
||||
confirmations: usize,
|
||||
|
|
Loading…
Reference in New Issue