mirror of
https://github.com/logos-storage/logos-storage-nim.git
synced 2026-01-08 00:13:08 +00:00
Return bytes to availability when finished
This commit is contained in:
parent
2dd0cb4e6a
commit
26079af3d4
@ -40,7 +40,7 @@ asyncchecksuite "sales state 'finished'":
|
||||
let context = SalesContext(market: market, clock: clock)
|
||||
agent = newSalesAgent(context, request.id, slotIndex, request.some)
|
||||
agent.onCleanUp = onCleanUp
|
||||
agent.context.onClear = some proc(request: StorageRequest, idx: UInt256) =
|
||||
agent.context.onClear = some proc(request: StorageRequest, idx: uint64) =
|
||||
saleCleared = some true
|
||||
state = SaleFinished(returnedCollateral: some currentCollateral)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user