We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent af26a1b commit 2398feaCopy full SHA for 2398fea
crates/shared/src/web3/contracts/helpers/utils.rs
@@ -9,7 +9,7 @@ use alloy::{
9
};
10
use anyhow::Result;
11
use log::{debug, info, warn};
12
-use tokio::time::{timeout, Duration};
+use tokio::time::Duration;
13
14
use crate::web3::wallet::WalletProvider;
15
@@ -73,7 +73,7 @@ where
73
match call.clone().send().await {
74
Ok(result) => {
75
debug!("Transaction sent, waiting for confirmation...");
76
- tx_hash = Some(result.tx_hash());
+ tx_hash = Some(result.tx_hash().clone());
77
78
match result
79
.with_timeout(Some(PENDING_TRANSACTION_TIMEOUT))
0 commit comments