Config values are strings

This commit is contained in:
Lee Miller 2022-07-04 18:33:42 +03:00
parent 9a96cab080
commit 6045b587e9
Signed by untrusted user: lee.miller
GPG Key ID: 4F97A5EA88F4AB63

View File

@ -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((