From 335ca907989dbbf76c07cdb2fb44327bb98625db Mon Sep 17 00:00:00 2001 From: wphan Date: Mon, 23 Oct 2023 15:27:30 -0700 Subject: [PATCH] fix undefined filledNode again --- src/bots/filler.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bots/filler.ts b/src/bots/filler.ts index 429ce56d..64905135 100644 --- a/src/bots/filler.ts +++ b/src/bots/filler.ts @@ -1052,10 +1052,10 @@ export class FillerBot implements Bot { filledNode.node.order!.orderId }; does not exist (filled by someone else); ${log}` ); + this.clearThrottledNode(getNodeToFillSignature(filledNode)); } else { - logger.error(`Tried to fille node filled by someone else; ${log}`); + logger.error(`Tried to fill node filled by someone else; ${log}`); } - this.clearThrottledNode(getNodeToFillSignature(filledNode)); errorThisFillIx = true; continue; }