Add dependency to setup.py

2024-05-20_merge
tecnovert 4 years ago
parent 2f47fd0d5c
commit 0a8bf9b2c4
No known key found for this signature in database
GPG Key ID: 8ED6D8750C4E3F93
  1. 3
      basicswap/interface_xmr.py
  2. 1
      setup.py

@ -64,9 +64,10 @@ class XMRInterface(CoinInterface):
self._network = network self._network = network
self.blocks_confirmed = coin_settings['blocks_confirmed'] self.blocks_confirmed = coin_settings['blocks_confirmed']
self._restore_height = coin_settings.get('restore_height', 0) self._restore_height = coin_settings.get('restore_height', 0)
self._fee_priority = coin_settings.get('fee_priority', 0) self.setFeePriority(coin_settings.get('fee_priority', 0))
def setFeePriority(self, new_priority): def setFeePriority(self, new_priority):
assert(new_priority >= 0 and new_priority < 4), 'Invalid fee_priority value'
self._fee_priority = new_priority self._fee_priority = new_priority
def setWalletFilename(self, wallet_filename): def setWalletFilename(self, wallet_filename):

@ -31,6 +31,7 @@ setuptools.setup(
"python-gnupg", "python-gnupg",
"Jinja2", "Jinja2",
"requests", "requests",
"pycryptodome",
], ],
entry_points={ entry_points={
"console_scripts": [ "console_scripts": [

Loading…
Cancel
Save