Page MenuHomePhabricator

Turn TryCreateDirectory() into TryCreateDirectories()
ClosedPublic

Authored by deadalnix on Jan 4 2018, 22:41.

Details

Summary

Use case: TryCreateDirectory(GetDataDir() / "blocks" / "index") would
fail if the blocks directory was not explicitly created before.

The line that did so was in a weird location and could be removed as a
result.

Backport of core's PR9895

Depends on D892

Test Plan
make check

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable