Skip to content
This repository was archived by the owner on Oct 19, 2024. It is now read-only.

Commit 266b1f4

Browse files
chore: fix wasm warnings (#1312)
1 parent 4d99165 commit 266b1f4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: ethers-providers/src/pending_escalator.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ where
190190
poll_broadcast_fut!(cx, this, fut);
191191
}
192192
Sleeping(delay) => {
193-
futures_util::ready!(delay.as_mut().poll(cx));
193+
let _ready = futures_util::ready!(delay.as_mut().poll(cx));
194194
// if broadcast timer has elapsed and if we have a TX to
195195
// broadcast, broadcast it
196196
if this.last.elapsed() > *this.broadcast_interval {

Diff for: ethers-providers/src/pending_transaction.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ impl<'a, P: JsonRpcClient> Future for PendingTransaction<'a, P> {
172172

173173
match this.state {
174174
PendingTxState::InitialDelay(fut) => {
175-
futures_util::ready!(fut.as_mut().poll(ctx));
175+
let _ready = futures_util::ready!(fut.as_mut().poll(ctx));
176176
tracing::debug!("Starting to poll pending tx {:?}", *this.tx_hash);
177177
let fut = Box::pin(this.provider.get_transaction(*this.tx_hash));
178178
rewake_with_new_state!(ctx, this, PendingTxState::GettingTx(fut));

0 commit comments

Comments
 (0)