mirror of
https://github.com/basicswap/basicswap.git
synced 2025-01-22 18:44:32 +00:00
Add dependency to setup.py
This commit is contained in:
parent
2f47fd0d5c
commit
0a8bf9b2c4
2 changed files with 3 additions and 1 deletions
|
@ -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):
|
||||||
|
|
1
setup.py
1
setup.py
|
@ -31,6 +31,7 @@ setuptools.setup(
|
||||||
"python-gnupg",
|
"python-gnupg",
|
||||||
"Jinja2",
|
"Jinja2",
|
||||||
"requests",
|
"requests",
|
||||||
|
"pycryptodome",
|
||||||
],
|
],
|
||||||
entry_points={
|
entry_points={
|
||||||
"console_scripts": [
|
"console_scripts": [
|
||||||
|
|
Loading…
Reference in a new issue