Skip to content

Commit

Permalink
fix #1838
Browse files Browse the repository at this point in the history
  • Loading branch information
relativisticelectron committed Aug 15, 2022
1 parent a58afba commit e6f00c5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/cryptoadvance/specter/server_endpoints/wallets.py
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,9 @@ def new_wallet(wallet_type):
]["url"]
wallet.rescanutxo(
explorer,
app.specter.requests_session(explorer.endswith(".onion")),
app.specter.requests_session(
explorer and explorer.endswith(".onion")
),
app.specter.only_tor,
)
app.specter.info["utxorescan"] = 1
Expand Down

0 comments on commit e6f00c5

Please sign in to comment.