fix build

This commit is contained in:
Eric 2023-09-12 18:20:40 +10:00
parent a74e657515
commit 27ae16c1f8
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -83,7 +83,7 @@ template cancelOnError*(market: Market, body) =
try:
body
except JsonRpcProviderError as e:
echo "[market.cancelOnError] error encountered -- nonce: ", nonce
echo "[market.cancelOnError] error encountered -- nonce: ", e.nonce
if e.nonce.isSome:
# send a 0-valued transaction with the errored nonce to prevent stuck txs
await market.cancelTransaction(!e.nonce)