Add OP_SMALLDATA handling to GetOpName
authorCryptoManiac <balthazar@yandex.ru>
Sun, 13 Jul 2014 23:28:37 +0000 (03:28 +0400)
committerCryptoManiac <balthazar@yandex.ru>
Sun, 13 Jul 2014 23:28:37 +0000 (03:28 +0400)
src/script.cpp

index 15733a7..64208c5 100644 (file)
@@ -244,6 +244,7 @@ const char* GetOpName(opcodetype opcode)
     // template matching params
     case OP_PUBKEYHASH             : return "OP_PUBKEYHASH";
     case OP_PUBKEY                 : return "OP_PUBKEY";
+    case OP_SMALLDATA              : return "OP_SMALLDATA";
 
     case OP_INVALIDOPCODE          : return "OP_INVALIDOPCODE";
     default: