diff --git a/src/protocol.h b/src/protocol.h index ecb82608c..2565cab3c 100644 --- a/src/protocol.h +++ b/src/protocol.h @@ -122,12 +122,12 @@ public: /** getdata message types */ enum GetDataMsg { - MSG_TX = 1, + UNDEFINED = 0, + MSG_TX, MSG_BLOCK, MSG_TYPE_MAX = MSG_BLOCK, // The following can only occur in getdata. Invs always use TX or BLOCK. MSG_FILTERED_BLOCK, - UNDEFINED, }; /** inv message data */