Fixing equality function (still needs tests)

pull/78/head
jMyles 2017-10-14 17:00:02 -07:00
parent adf71c80c8
commit 9714b2d0cb
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@ class Character(object):
return pubkey_tuple_to_bytes(seal)
def __eq__(seal, other):
return other == seal._as_tuple() or bytes(seal)
return other == seal._as_tuple() or other == bytes(seal)
self.seal = Seal()