mirror of
https://github.com/logos-storage/nim-ethers.git
synced 2026-01-08 16:43:09 +00:00
clean up
This commit is contained in:
parent
9cc34416e5
commit
ff4dc5dfd7
@ -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
|
||||
return msg
|
||||
|
||||
@ -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)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user