Skip to content

Commit a8aa214

Browse files
committed
back to normal nonce
1 parent ffc0767 commit a8aa214

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/submit_transaction.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ async fn main() {
7373
async fn send_transaction(provider: &HostProvider, recipient_address: Address) {
7474
// construct simple transaction to send ETH to a recipient
7575
let nonce = match provider.get_transaction_count(provider.default_signer_address()).await {
76-
Ok(count) => count + 2,
76+
Ok(count) => count,
7777
Err(e) => {
7878
error!(error = ?e, "failed to get transaction count");
7979
return;

0 commit comments

Comments
 (0)