A test case for address generator #2170

Merged
PeterSurda merged 6 commits from gitea-33 into v0.6 2024-01-17 09:34:05 +01:00
Showing only changes of commit 6045b587e9 - Show all commits

View File

@ -187,9 +187,10 @@ class addressGenerator(StoppableThread):
config.set(address, 'payloadlengthextrabytes', str( config.set(address, 'payloadlengthextrabytes', str(
payloadLengthExtraBytes)) payloadLengthExtraBytes))
config.set( config.set(
address, 'privsigningkey', privSigningKeyWIF) address, 'privsigningkey', privSigningKeyWIF.decode())
config.set( config.set(
address, 'privencryptionkey', privEncryptionKeyWIF) address, 'privencryptionkey',
privEncryptionKeyWIF.decode())
config.save() config.save()
# The API and the join and create Chan functionality # The API and the join and create Chan functionality
@ -350,11 +351,11 @@ class addressGenerator(StoppableThread):
address, 'payloadlengthextrabytes', address, 'payloadlengthextrabytes',
str(payloadLengthExtraBytes)) str(payloadLengthExtraBytes))
config.set( config.set(
address, 'privSigningKey', address, 'privsigningkey',
privSigningKeyWIF) privSigningKeyWIF.decode())
config.set( config.set(
address, 'privEncryptionKey', address, 'privencryptionkey',
privEncryptionKeyWIF) privEncryptionKeyWIF.decode())
config.save() config.save()
queues.UISignalQueue.put(( queues.UISignalQueue.put((