Skip to content

Commit 959d8ed

Browse files
committed
fix: Address Comparing function
1 parent 6f78541 commit 959d8ed

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@across-protocol/sdk",
33
"author": "UMA Team",
4-
"version": "4.3.99",
4+
"version": "4.3.100",
55
"license": "AGPL-3.0",
66
"homepage": "https://docs.across.to/reference/sdk",
77
"files": [

src/utils/AddressUtils.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -212,8 +212,8 @@ export abstract class Address {
212212
}
213213

214214
// Checks if the other address is equivalent to this address.
215-
eq(other: Address): boolean {
216-
return this.toString() === other.toString();
215+
eq(other?: Address): boolean {
216+
return this.toString() === other?.toString();
217217
}
218218

219219
// Compares Addresses by first converting them to BigNumbers.

0 commit comments

Comments
 (0)