Skip to content

Commit 2398fea

Browse files
committed
fix
1 parent af26a1b commit 2398fea

File tree

1 file changed

+2
-2
lines changed
  • crates/shared/src/web3/contracts/helpers

1 file changed

+2
-2
lines changed

crates/shared/src/web3/contracts/helpers/utils.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ use alloy::{
99
};
1010
use anyhow::Result;
1111
use log::{debug, info, warn};
12-
use tokio::time::{timeout, Duration};
12+
use tokio::time::Duration;
1313

1414
use crate::web3::wallet::WalletProvider;
1515

@@ -73,7 +73,7 @@ where
7373
match call.clone().send().await {
7474
Ok(result) => {
7575
debug!("Transaction sent, waiting for confirmation...");
76-
tx_hash = Some(result.tx_hash());
76+
tx_hash = Some(result.tx_hash().clone());
7777

7878
match result
7979
.with_timeout(Some(PENDING_TRANSACTION_TIMEOUT))

0 commit comments

Comments
 (0)