From f30d81a98fe8d7cde6daae4e15eba7b4852e43d9 Mon Sep 17 00:00:00 2001 From: SomberNight Date: Wed, 17 Jan 2024 01:15:14 +0000 Subject: [PATCH] swapserver plugin: fix doc --- electrum/plugins/swapserver/__init__.py | 2 +- electrum/simple_config.py | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/electrum/plugins/swapserver/__init__.py b/electrum/plugins/swapserver/__init__.py index ff04160f3..1a7d3547b 100644 --- a/electrum/plugins/swapserver/__init__.py +++ b/electrum/plugins/swapserver/__init__.py @@ -7,7 +7,7 @@ Submarine swap server for an Electrum daemon. Example setup: electrum -o setconfig use_swapserver True - electrum -o setconfig swapserver_address localhost:5455 + electrum -o setconfig swapserver_port 5455 electrum daemon -v """ diff --git a/electrum/simple_config.py b/electrum/simple_config.py index e3979db22..ed5f25ec8 100644 --- a/electrum/simple_config.py +++ b/electrum/simple_config.py @@ -1173,8 +1173,9 @@ This will result in longer routes; it might increase your fees and decrease the WIZARD_DONT_CREATE_SEGWIT = ConfigVar('nosegwit', default=False, type_=bool) CONFIG_FORGET_CHANGES = ConfigVar('forget_config', default=False, type_=bool) - # submarine swap server + # connect to remote submarine swap server SWAPSERVER_URL = ConfigVar('swapserver_url', default=_default_swapserver_url, type_=str) + # run submarine swap server locally SWAPSERVER_PORT = ConfigVar('swapserver_port', default=5455, type_=int) TEST_SWAPSERVER_REFUND = ConfigVar('test_swapserver_refund', default=False, type_=bool)