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)