mirror of
https://github.com/logos-storage/nim-ethers.git
synced 2026-03-15 17:03:13 +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
|
var msg = error.msg
|
||||||
if not error.parent.isNil:
|
if not error.parent.isNil:
|
||||||
msg &= " -- Parent exception: " & error.parent.msg
|
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.} =
|
method getChainId*(signer: Signer): Future[UInt256] {.base, gcsafe.} =
|
||||||
signer.provider.getChainId()
|
signer.provider.getChainId()
|
||||||
|
|
||||||
func lastSeenNonce*(signer: Signer): ?UInt256 = signer.lastSeenNonce
|
|
||||||
|
|
||||||
method getNonce(signer: Signer): Future[UInt256] {.base, gcsafe, async.} =
|
method getNonce(signer: Signer): Future[UInt256] {.base, gcsafe, async.} =
|
||||||
var nonce = await signer.getTransactionCount(BlockTag.pending)
|
var nonce = await signer.getTransactionCount(BlockTag.pending)
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user