Adjusted implementation based on lock returned

This commit is contained in:
Filipe Soccol
2022-11-01 17:07:34 -03:00
parent c9243a38d1
commit 1298b0d368
4 changed files with 94 additions and 43 deletions

View File

@@ -63,7 +63,7 @@ describe("P2PIX deposit test", function () {
})
it("Should allow withdraw the deposit", async function () {
const transaction = await p2pix.withdraw(depositID);
const transaction = await p2pix.withdraw(depositID, []);
await expect(transaction).to.emit(p2pix, 'DepositWithdrawn').withArgs(
owner.address,
depositID,