mirror of
https://github.com/logos-storage/nim-ethers.git
synced 2026-02-24 15:43:07 +00:00
assert populated nonce is populated, not transaction
This commit is contained in:
parent
f87bf37c10
commit
511b87ef55
@ -139,7 +139,7 @@ method populateTransaction*(
|
||||
if transaction.gasLimit.isNone:
|
||||
populated.gasLimit = some(await signer.estimateGas(populated, BlockTag.pending))
|
||||
|
||||
doAssert transaction.nonce.isSome, "nonce not populated!"
|
||||
doAssert populated.nonce.isSome, "nonce not populated!"
|
||||
|
||||
return populated
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user