Skip to content

Commit

Permalink
fix: leading zero addresses incorrectly padded
Browse files Browse the repository at this point in the history
  • Loading branch information
0xneves committed Apr 17, 2024
1 parent 95f72f1 commit 0f2a9f4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/TestSwapFactory.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ describe("Swaplace Factory", async function () {
configOnChain,
);
const decodedConfig = await decodeConfig(configOffChain);

expect(BigInt(allowed)).to.be.equals(decodedConfig.allowed);
expect(expiry).to.be.equals(decodedConfig.expiry);
expect(recipient).to.be.equals(decodedConfig.recipient);
Expand Down

1 comment on commit 0f2a9f4

@0xneves
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My mistake hahahaha

Please sign in to comment.