Skip to content
This repository has been archived by the owner on Nov 15, 2021. It is now read-only.

Commit

Permalink
Merge 56095c4 into 9e8421a
Browse files Browse the repository at this point in the history
  • Loading branch information
ixje committed Jul 30, 2019
2 parents 9e8421a + 56095c4 commit f49b78f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ All notable changes to this project are documented in this file.
- Fix StackItem deserialization for ``Boolean`` VM type
- Update ``CheckDynamicInvoke`` to operate on snapshots
- Fix ``Contract.Destroy`` not always deleting storage
- Fix ``Equals()`` of ``ByteArray``


[0.8.4] 2019-02-14
Expand Down
5 changes: 4 additions & 1 deletion neo/VM/InteropService.py
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,10 @@ def Equals(self, other):
if other is self:
return True

return self._value == other._value
try:
return self._value == other.GetByteArray()
except Exception:
return False

def GetBigInteger(self):
try:
Expand Down

0 comments on commit f49b78f

Please sign in to comment.