assert populated nonce is populated, not transaction

This commit is contained in:
Eric 2024-11-01 12:19:01 +11:00
parent f87bf37c10
commit 511b87ef55
No known key found for this signature in database

View File

@ -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