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)
|
await advanceTimeTo(end)
|
||||||
}
|
}
|
||||||
|
|
||||||
// it("unlocks the host collateral", async function () {
|
it("unlocks the host collateral", async function () {
|
||||||
// await mineUntilEnd()
|
await waitUntilEnd()
|
||||||
// await storage.finishContract(id)
|
await storage.finishContract(id)
|
||||||
// await expect(storage.withdraw()).not.to.be.reverted
|
await expect(storage.withdraw()).not.to.be.reverted
|
||||||
// })
|
})
|
||||||
|
|
||||||
it("pays the host", async function () {
|
it("pays the host", async function () {
|
||||||
await waitUntilEnd()
|
await waitUntilEnd()
|
||||||
|
|
Loading…
Reference in New Issue