From 51b21cba0dc6baa07a46b826febfc7b0d2e140f2 Mon Sep 17 00:00:00 2001 From: Forrest Voight Date: Thu, 3 May 2012 18:10:16 -0400 Subject: [PATCH] fixed duplicate future expansion enum values in message_sharereply.result --- p2pool/p2p.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/p2pool/p2p.py b/p2pool/p2p.py index 217324b..3681b2f 100644 --- a/p2pool/p2p.py +++ b/p2pool/p2p.py @@ -230,7 +230,7 @@ class Protocol(p2protocol.Protocol): message_sharereply = pack.ComposedType([ ('id', pack.IntType(256)), - ('result', pack.EnumType(pack.VarIntType(), {'good': 0, 'too long': 1, 'unk2': 2, 'unk2': 3, 'unk2': 4, 'unk2': 5, 'unk2': 6})), + ('result', pack.EnumType(pack.VarIntType(), {'good': 0, 'too long': 1, 'unk2': 2, 'unk3': 3, 'unk4': 4, 'unk5': 5, 'unk6': 6})), ('shares', pack.ListType(p2pool_data.share_type)), ]) def handle_sharereply(self, id, result, shares): -- 1.7.1