mirror of
https://github.com/status-im/nim-dagger.git
synced 2025-02-08 21:05:21 +00:00
Cosmetic change
This commit is contained in:
parent
3ec9b476ff
commit
bf715b3c5d
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user