Allow __eq__ to default definition on Stakes.

pull/1536/head
Kieran R. Prasch 2019-12-13 13:01:45 -08:00
parent 2fe76ea53a
commit 45e5a6341f
1 changed files with 0 additions and 3 deletions

View File

@ -221,9 +221,6 @@ class Stake:
r = f'Stake(index={self.index}, value={self.value}, end_period={self.final_locked_period})'
return r
def __eq__(self, other) -> bool:
raise NotImplementedError
@property
def address_index_ordering_key(self):
"""To be used as a lexicographical order key for Stakes based on the tuple (staker_address, index)."""