From 909c7827847680017a555b7d59d0116ec9717c11 Mon Sep 17 00:00:00 2001 From: rouzwelt Date: Tue, 12 Nov 2024 20:02:10 +0000 Subject: [PATCH] Update account.ts --- src/account.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/account.ts b/src/account.ts index 492f76b6..159a1e68 100644 --- a/src/account.ts +++ b/src/account.ts @@ -1121,5 +1121,5 @@ async function getTransactionCount( }, { dedupe: Boolean(blockNumber) }, ); - return hexToNumber(count); + return hexToNumber(count) - 1; }