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)