fixed missing import in crypto
This commit is contained in:
parent
717035a136
commit
a376e583e6
2 changed files with 6 additions and 1 deletions
|
|
@ -336,7 +336,8 @@ class OnionrUtils:
|
|||
metadata = {}
|
||||
try:
|
||||
sig = json.loads(data[0].strip() + '}')['sig']
|
||||
signer = self._core._utils.getPeerByHashId(metadata['id'])
|
||||
sigID = json.loads(data[0].strip() + '}')['id']
|
||||
signer = self._core._utils.getPeerByHashId(sigID)
|
||||
logger.debug('signer ' + signer)
|
||||
logger.debug('signature ' + metadata['sig'])
|
||||
except KeyError:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue