From 65701e59975ccb199694c3168b61913f9fcc24e4 Mon Sep 17 00:00:00 2001 From: Peter Surda Date: Fri, 13 Jan 2017 09:30:23 +0100 Subject: [PATCH] neededPubkeys fix - was still using shared.neededPubkeys --- src/shared.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shared.py b/src/shared.py index f58a1cd6..54a9e750 100644 --- a/src/shared.py +++ b/src/shared.py @@ -353,7 +353,7 @@ def decryptAndCheckPubkeyPayload(data, address): encryptedData = data[readPosition:] # Let us try to decrypt the pubkey - toAddress, cryptorObject = shared.neededPubkeys[tag] + toAddress, cryptorObject = state.neededPubkeys[tag] if toAddress != address: logger.critical('decryptAndCheckPubkeyPayload failed due to toAddress mismatch. This is very peculiar. toAddress: %s, address %s' % (toAddress, address)) # the only way I can think that this could happen is if someone encodes their address data two different ways.