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

Commit

Permalink
revert xdrop
Browse files Browse the repository at this point in the history
  • Loading branch information
igormcoelho committed Sep 27, 2019
1 parent 8afc352 commit b08956f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/neo-vm/OpCode.cs
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,7 @@ public enum OpCode : byte
/// <summary>
/// The item n back in the main stack is removed.
/// </summary>
XDROP = 0x71,
XDROP = 0x6D,
/// <summary>
/// The item n back in the main stack in swapped with top stack item.
/// </summary>
Expand Down
8 changes: 4 additions & 4 deletions tests/neo-vm.Tests/Tests/OpCodes/Stack/XDROP.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
[
{
"name": "Without push",
"script": "0x71",
"script": "0x6D",
"steps":
[
{
Expand All @@ -22,7 +22,7 @@
},
{
"name": "Overflow drop",
"script": "0x5352515371",
"script": "0x535251536D",
"steps":
[
{
Expand Down Expand Up @@ -78,7 +78,7 @@
},
{
"name": "Wrong index type [Map]",
"script": "0x535251C771",
"script": "0x535251C76D",
"steps":
[
{
Expand Down Expand Up @@ -137,7 +137,7 @@
},
{
"name": "Real test",
"script": "0x5352515171",
"script": "0x535251516D",
"steps":
[
{
Expand Down

0 comments on commit b08956f

Please sign in to comment.