getdata enum issue fix

(cherry picked from commit sipa/bitcoin@adb1c09b87)
This commit is contained in:
Eric Lombrozo 2016-01-15 20:29:35 -05:00 committed by Jack Grigg
parent cf7e89bb8e
commit 37aa712f0e
1 changed files with 2 additions and 2 deletions

View File

@ -122,12 +122,12 @@ public:
/** getdata message types */ /** getdata message types */
enum GetDataMsg enum GetDataMsg
{ {
MSG_TX = 1, UNDEFINED = 0,
MSG_TX,
MSG_BLOCK, MSG_BLOCK,
MSG_TYPE_MAX = MSG_BLOCK, MSG_TYPE_MAX = MSG_BLOCK,
// The following can only occur in getdata. Invs always use TX or BLOCK. // The following can only occur in getdata. Invs always use TX or BLOCK.
MSG_FILTERED_BLOCK, MSG_FILTERED_BLOCK,
UNDEFINED,
}; };
/** inv message data */ /** inv message data */