From 37aa712f0eb7ab236cead6983f0ff5f2f0d12535 Mon Sep 17 00:00:00 2001 From: Eric Lombrozo Date: Fri, 15 Jan 2016 20:29:35 -0500 Subject: [PATCH] getdata enum issue fix (cherry picked from commit sipa/bitcoin@adb1c09b8729ee3e1a8460e152e6ef987051d01a) --- src/protocol.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 */