This reverts commit 50a1fbc83f20b930d8a98804927ede62192f0f21.
This is causing wallet_multiwallet.py to fail on UBSAN:
Traceback (most recent call last): File "/home/teamcity/buildAgent/work/78fe5e47cf5a299e/test/functional/test_framework/test_node.py", line 338, in assert_start_raises_init_error self.wait_for_rpc_connection() File "/home/teamcity/buildAgent/work/78fe5e47cf5a299e/test/functional/test_framework/test_node.py", line 223, in wait_for_rpc_connection 'bitcoind exited with status {} during initialization'.format(self.process.returncode))) test_framework.test_node.FailedToStartError: [node 0] bitcoind exited with status 1 during initialization During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/teamcity/buildAgent/work/78fe5e47cf5a299e/test/functional/test_framework/test_framework.py", line 161, in main self.run_test() File "/home/teamcity/buildAgent/work/78fe5e47cf5a299e/test/functional/wallet_multiwallet.py", line 90, in run_test ['-wallet=wallet.dat/bad'], exp_stderr, match=ErrorMatch.PARTIAL_REGEX) File "/home/teamcity/buildAgent/work/78fe5e47cf5a299e/test/functional/test_framework/test_node.py", line 353, in assert_start_raises_init_error 'Expected message "{}" does not partially match stderr:\n"{}"'.format(expected_msg, stderr)) File "/home/teamcity/buildAgent/work/78fe5e47cf5a299e/test/functional/test_framework/test_node.py", line 146, in _raise_assertion_error raise AssertionError(self._node_msg(msg)) AssertionError: [node 0] Expected message "boost::filesystem::create_directory: (The system cannot find the path specified|Not a directory):" does not partially match stderr: ""
I cannot replicate this error right now, and have not found a solution or mention of this error searching through Core.