Skip to content

Commit

Permalink
Bugfix: add proper uid to initial config fixes #1714 (#1715)
Browse files Browse the repository at this point in the history
* add proper uid to initial config

* increase delay for flaky CIs
  • Loading branch information
Kim Neunert authored May 18, 2022
1 parent 2873f0e commit 03535fc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/cryptoadvance/specter/managers/config_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def __init__(self, data_folder, config={}):
"hwi_bridge_url": "/hwi/api/",
# unique id that will be used in wallets path in Bitcoin Core
# empty by default for backward-compatibility
"uid": "",
"uid": random.randint(0, 256**8).to_bytes(8, "big").hex(),
"unit": "btc",
"price_check": False,
"alt_rate": 1,
Expand Down
2 changes: 1 addition & 1 deletion tests/fix_devices_and_wallets.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ def funded_hot_wallet_1(
amount=2.5,
confirm_payment=False,
)
time.sleep(0.5) # needed for tx to propagate
time.sleep(1) # needed for tx to propagate
funded_hot_wallet_1.update()
# 12 txs
assert len(funded_hot_wallet_1.txlist()) == 12
Expand Down

0 comments on commit 03535fc

Please sign in to comment.