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

Commit

Permalink
fix for bytearray slice end calculation for SUBSTR opcode
Browse files Browse the repository at this point in the history
  • Loading branch information
hal0x2328 committed Oct 4, 2017
1 parent 9acffc7 commit a1d185a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion neo/VM/ExecutionEngine.py
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ def ExecuteOp(self, opcode, context):
return

x = estack.Pop().GetByteArray()
estack.PushT( x[index:count])
estack.PushT( x[index:count+index])

elif opcode == LEFT:

Expand Down

0 comments on commit a1d185a

Please sign in to comment.