Skip to content

Commit 1cea1d6

Browse files
committed
fix: remove duplicate eq
Signed-off-by: exploreriii <[email protected]>
1 parent 53700ef commit 1cea1d6

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/hiero_sdk_python/account/account_id.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -72,11 +72,6 @@ def __repr__(self):
7272
"""
7373
return f"AccountId(shard={self.shard}, realm={self.realm}, num={self.num})"
7474

75-
def __eq__(self, other):
76-
if not isinstance(other, AccountId):
77-
return False
78-
return (self.shard, self.realm, self.num) == (other.shard, other.realm, other.num)
79-
8075
def __eq__(self, other: object) -> bool:
8176
"""
8277
Checks equality between two AccountId instances.

0 commit comments

Comments
 (0)