Skip to content

Commit

Permalink
swapserver plugin: fix doc
Browse files Browse the repository at this point in the history
  • Loading branch information
SomberNight committed Jan 17, 2024
1 parent 52c4acb commit f30d81a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion electrum/plugins/swapserver/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
Example setup:
electrum -o setconfig use_swapserver True
electrum -o setconfig swapserver_address localhost:5455
electrum -o setconfig swapserver_port 5455
electrum daemon -v
"""
Expand Down
3 changes: 2 additions & 1 deletion electrum/simple_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -1173,8 +1173,9 @@ def _default_swapserver_url(self) -> str:
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)

Expand Down

0 comments on commit f30d81a

Please sign in to comment.