We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ffc0767 commit a8aa214Copy full SHA for a8aa214
bin/submit_transaction.rs
@@ -73,7 +73,7 @@ async fn main() {
73
async fn send_transaction(provider: &HostProvider, recipient_address: Address) {
74
// construct simple transaction to send ETH to a recipient
75
let nonce = match provider.get_transaction_count(provider.default_signer_address()).await {
76
- Ok(count) => count + 2,
+ Ok(count) => count,
77
Err(e) => {
78
error!(error = ?e, "failed to get transaction count");
79
return;
0 commit comments