From bf715b3c5d56e58d81be804f2cc6f7c02d8e7f6b Mon Sep 17 00:00:00 2001 From: Arnaud Date: Tue, 28 Jan 2025 17:14:53 +0100 Subject: [PATCH] Cosmetic change --- codex/sales/states/filling.nim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/codex/sales/states/filling.nim b/codex/sales/states/filling.nim index 14f5ab94..2eaeec85 100644 --- a/codex/sales/states/filling.nim +++ b/codex/sales/states/filling.nim @@ -35,11 +35,11 @@ method run(state: SaleFilling, machine: Machine): Future[?State] {.async.} = requestId = data.requestId slotIndex = data.slotIndex - let slotCollateral = await market.slotCollateral(data.requestId, SlotState.Free) + let collateral = await market.slotCollateral(data.requestId, SlotState.Free) debug "Filling slot" try: - await market.fillSlot(data.requestId, data.slotIndex, state.proof, slotCollateral) + await market.fillSlot(data.requestId, data.slotIndex, state.proof, collateral) except MarketError as e: if e.msg.contains "Slot is not free": debug "Slot is already filled, ignoring slot"