Browse Source

Fixing port for hidden service

v0.6
Dmitri Bogomolov 3 years ago
parent
commit
61f64f72c3
Signed by untrusted user: g1itch GPG Key ID: 720A756F18DEED13
  1. 3
      src/plugins/proxyconfig_stem.py

3
src/plugins/proxyconfig_stem.py

@ -112,7 +112,8 @@ def connect_plugin(config): # pylint: disable=too-many-branches
onionkeytype = config.safeGet(onionhostname, 'keytype')
response = controller.create_ephemeral_hidden_service(
config.safeGetInt('bitmessagesettings', 'onionport', 8444),
{config.safeGetInt('bitmessagesettings', 'onionport', 8444):
config.safeGetInt('bitmessagesettings', 'port', 8444)},
key_type=(onionkeytype or 'NEW'),
key_content=(onionkey or onionhostname and 'ED25519-V3' or 'BEST')
)

Loading…
Cancel
Save