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

Commit

Permalink
Merge pull request #21 from hal0x2328/master
Browse files Browse the repository at this point in the history
fix for bytearray slice end calculation for SUBSTR opcode
  • Loading branch information
localhuman committed Oct 4, 2017
2 parents c9f6d54 + a1d185a commit b936297
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 b936297

Please sign in to comment.