Skip to content

Commit 65af6ce

Browse files
committed
Merge branch 'integration' of https://github.com/Chia-Network/chia-blockchain into integration
2 parents fef855d + a0bb2da commit 65af6ce

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/wallet/wallet_node.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
from src.full_node.blockchain import ReceiveBlockResult
3535
from src.types.mempool_inclusion_status import MempoolInclusionStatus
3636
from src.util.errors import Err
37-
from src.util.path import path_from_root
37+
from src.util.path import path_from_root, mkdir
3838

3939

4040
class WalletNode:
@@ -92,6 +92,7 @@ async def create(
9292
self.log = logging.getLogger(__name__)
9393

9494
path = path_from_root(config["database_path"])
95+
mkdir(path.parent)
9596

9697
self.wallet_state_manager = await WalletStateManager.create(
9798
config, path, self.constants

0 commit comments

Comments
 (0)