We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents fef855d + a0bb2da commit 65af6ceCopy full SHA for 65af6ce
src/wallet/wallet_node.py
@@ -34,7 +34,7 @@
34
from src.full_node.blockchain import ReceiveBlockResult
35
from src.types.mempool_inclusion_status import MempoolInclusionStatus
36
from src.util.errors import Err
37
-from src.util.path import path_from_root
+from src.util.path import path_from_root, mkdir
38
39
40
class WalletNode:
@@ -92,6 +92,7 @@ async def create(
92
self.log = logging.getLogger(__name__)
93
94
path = path_from_root(config["database_path"])
95
+ mkdir(path.parent)
96
97
self.wallet_state_manager = await WalletStateManager.create(
98
config, path, self.constants
0 commit comments