getdata enum issue fix
(cherry picked from commit sipa/bitcoin@adb1c09b87)
This commit is contained in:
parent
cf7e89bb8e
commit
37aa712f0e
|
@ -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 */
|
||||||
|
|
Loading…
Reference in New Issue