mirror of
https://github.com/status-im/codex-contracts-eth.git
synced 2025-01-31 18:56:04 +00:00
Unlock host collateral at end of contract
This commit is contained in:
parent
f4d895113f
commit
241fcf10a5
@ -89,11 +89,11 @@ describe("Storage", function () {
|
||||
await advanceTimeTo(end)
|
||||
}
|
||||
|
||||
// it("unlocks the host collateral", async function () {
|
||||
// await mineUntilEnd()
|
||||
// await storage.finishContract(id)
|
||||
// await expect(storage.withdraw()).not.to.be.reverted
|
||||
// })
|
||||
it("unlocks the host collateral", async function () {
|
||||
await waitUntilEnd()
|
||||
await storage.finishContract(id)
|
||||
await expect(storage.withdraw()).not.to.be.reverted
|
||||
})
|
||||
|
||||
it("pays the host", async function () {
|
||||
await waitUntilEnd()
|
||||
|
Loading…
x
Reference in New Issue
Block a user