From 6045b587e95038e94fbdc56e3fc687602bf97965 Mon Sep 17 00:00:00 2001 From: Lee Miller Date: Mon, 4 Jul 2022 18:33:42 +0300 Subject: [PATCH] Config values are strings --- src/class_addressGenerator.py | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/src/class_addressGenerator.py b/src/class_addressGenerator.py index a308a52e..05143cd8 100644 --- a/src/class_addressGenerator.py +++ b/src/class_addressGenerator.py @@ -187,9 +187,10 @@ class addressGenerator(StoppableThread): config.set(address, 'payloadlengthextrabytes', str( payloadLengthExtraBytes)) config.set( - address, 'privsigningkey', privSigningKeyWIF) + address, 'privsigningkey', privSigningKeyWIF.decode()) config.set( - address, 'privencryptionkey', privEncryptionKeyWIF) + address, 'privencryptionkey', + privEncryptionKeyWIF.decode()) config.save() # The API and the join and create Chan functionality @@ -350,11 +351,11 @@ class addressGenerator(StoppableThread): address, 'payloadlengthextrabytes', str(payloadLengthExtraBytes)) config.set( - address, 'privSigningKey', - privSigningKeyWIF) + address, 'privsigningkey', + privSigningKeyWIF.decode()) config.set( - address, 'privEncryptionKey', - privEncryptionKeyWIF) + address, 'privencryptionkey', + privEncryptionKeyWIF.decode()) config.save() queues.UISignalQueue.put((