missed this in dht-compat merge
This commit is contained in:
parent
69657750b8
commit
9ee5a3511d
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ class DefaultFormat(MessageTranslator):
|
|||
return primitive[str(key)] # TODO: switch to int()
|
||||
|
||||
def fromPrimitive(self, msgPrimitive):
|
||||
msgType = msgPrimitive[self.headerType]
|
||||
msgType = self.get(msgPrimitive, self.headerType)
|
||||
if msgType == self.typeRequest:
|
||||
msg = msgtypes.RequestMessage(self.get(msgPrimitive, self.headerNodeID),
|
||||
self.get(msgPrimitive, self.headerPayload),
|
||||
|
|
Loading…
Reference in a new issue