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

Commit

Permalink
Fix implementation to push bytearray onto stack rather than UInt256
Browse files Browse the repository at this point in the history
  • Loading branch information
localhuman committed Oct 1, 2017
1 parent d59e64c commit bb990b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion neo/SmartContract/StateReader.py
Original file line number Diff line number Diff line change
Expand Up @@ -536,7 +536,7 @@ def Output_GetAssetId(self, engine):
output = engine.EvaluationStack.Pop().GetInterface('neo.Core.TX.Transaction.TransactionOutput')
if output is None:
return False
engine.EvaluationStack.PushT(output.AssetId)
engine.EvaluationStack.PushT(output.AssetId.ToArray())
return True

def Output_GetValue(self, engine):
Expand Down

0 comments on commit bb990b8

Please sign in to comment.