From e03cd484b6a6a0236dec3908448b1c5b04a84ce5 Mon Sep 17 00:00:00 2001 From: Eric <5089238+emizzle@users.noreply.github.com> Date: Fri, 20 Oct 2023 18:05:15 +1100 Subject: [PATCH] clean up --- ethers/exceptions.nim | 2 +- ethers/signer.nim | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/ethers/exceptions.nim b/ethers/exceptions.nim index dfecb2e..b7f3b72 100644 --- a/ethers/exceptions.nim +++ b/ethers/exceptions.nim @@ -4,4 +4,4 @@ func msgStack*(error: ref EthersError): string = var msg = error.msg if not error.parent.isNil: msg &= " -- Parent exception: " & error.parent.msg - return msg \ No newline at end of file + return msg diff --git a/ethers/signer.nim b/ethers/signer.nim index af31638..301d66e 100644 --- a/ethers/signer.nim +++ b/ethers/signer.nim @@ -66,8 +66,6 @@ method estimateGas*(signer: Signer, method getChainId*(signer: Signer): Future[UInt256] {.base, gcsafe.} = signer.provider.getChainId() -func lastSeenNonce*(signer: Signer): ?UInt256 = signer.lastSeenNonce - method getNonce(signer: Signer): Future[UInt256] {.base, gcsafe, async.} = var nonce = await signer.getTransactionCount(BlockTag.pending)