mirror of
https://github.com/status-im/nim-dagger.git
synced 2025-02-12 22:56:36 +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
|
requestId = data.requestId
|
||||||
slotIndex = data.slotIndex
|
slotIndex = data.slotIndex
|
||||||
|
|
||||||
let slotCollateral = await market.slotCollateral(data.requestId, SlotState.Free)
|
let collateral = await market.slotCollateral(data.requestId, SlotState.Free)
|
||||||
|
|
||||||
debug "Filling slot"
|
debug "Filling slot"
|
||||||
try:
|
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:
|
except MarketError as e:
|
||||||
if e.msg.contains "Slot is not free":
|
if e.msg.contains "Slot is not free":
|
||||||
debug "Slot is already filled, ignoring slot"
|
debug "Slot is already filled, ignoring slot"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user