Skip to content

Commit

Permalink
Fixed: #177
Browse files Browse the repository at this point in the history
  • Loading branch information
blackbeard002 committed Jan 16, 2024
1 parent af19624 commit 3bfcb46
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/TestSwapFactory.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -261,11 +261,11 @@ describe("Swaplace Factory", async function () {
it("Should ensure packData() and parseData() return the right values",async function () {
const currentTimestamp = (await blocktimestamp()) * 2;

const config = await Swaplace.packData(acceptee, currentTimestamp);
const config = await Swaplace.packData(acceptee.address, currentTimestamp);

const [allowed, expiry] = await Swaplace.parseData(config);

expect(allowed).to.be.equals(acceptee);
expect(allowed).to.be.equals(acceptee.address);
expect(expiry).to.be.equals(currentTimestamp);
});
});

0 comments on commit 3bfcb46

Please sign in to comment.