mirror of
https://github.com/logos-storage/nim-ethers.git
synced 2026-01-27 09:53:11 +00:00
clean up
This commit is contained in:
parent
9cc34416e5
commit
ff4dc5dfd7
@ -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