Add OP_SMALLDATA handling to GetOpName
[novacoin.git] / 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: