Skip to content

Commit

Permalink
publish: don't wait for receipt
Browse files Browse the repository at this point in the history
  • Loading branch information
barraguda committed Aug 28, 2024
1 parent b6761b2 commit 2deb77d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/publish/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -421,8 +421,7 @@ pub async fn execute(
let tx_envelope = tx.build(&wallet).await?;
let tx_encoded = tx_envelope.encoded_2718();
let tx = provider.send_raw_transaction(&tx_encoded).await?;
let receipt = tx.get_receipt().await?;
let tx_hash = format!("{:?}", receipt.transaction_hash);
let tx_hash = format!("{:?}", tx.tx_hash());
let link = format!(
"\x1B]8;;https://optimistic.etherscan.io/tx/{}\x1B\\{}\x1B]8;;\x1B\\",
tx_hash,
Expand Down

0 comments on commit 2deb77d

Please sign in to comment.