mirror of
https://github.com/cryptoadvance/specter-desktop.git
synced 2026-08-13 12:33:29 +02:00
Leading slashes in paths removed (#1380)
This commit is contained in:
parent
8839be220a
commit
6a1e0d56d9
1 changed files with 3 additions and 3 deletions
|
|
@ -65,15 +65,15 @@ class InternalNode(Node):
|
|||
self._status = self.DOWN
|
||||
if self.bitcoind_network != "main":
|
||||
if self.bitcoind_network == "testnet" and not self.datadir.endswith(
|
||||
"/testnet3"
|
||||
"testnet3"
|
||||
):
|
||||
self.datadir = os.path.join(self.datadir, "testnet3")
|
||||
elif self.bitcoind_network == "regtest" and not self.datadir.endswith(
|
||||
"/regtest"
|
||||
"regtest"
|
||||
):
|
||||
self.datadir = os.path.join(self.datadir, "regtest")
|
||||
elif self.bitcoind_network == "signet" and not self.datadir.endswith(
|
||||
"/signet"
|
||||
"signet"
|
||||
):
|
||||
self.datadir = os.path.join(self.datadir, "signet")
|
||||
logger.info(f"persisting {self} in __init__")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue