aboutsummaryrefslogtreecommitdiff
path: root/src/test/txvalidation_tests.cpp
diff options
context:
space:
mode:
authorRyan Ofsky <ryan@ofsky.org>2022-02-04 08:59:17 -0500
committerRyan Ofsky <ryan@ofsky.org>2022-02-04 09:10:19 -0500
commitd216bc8d76d7f4e9dce58b0bb732a2d4deaf23b6 (patch)
tree18f05294217e28a4d64b55476834600c99cfc897 /src/test/txvalidation_tests.cpp
parent80cd64e84296f1166e133c237fa0afc046b01ce2 (diff)
Re-enable walletinit_verify_walletdir_no_trailing2 test disabled in #20744
This should also fix an init error if a -walletdir with a trailing slash is used on windows. This appears to be a real error and regression introduced with #20744. On windows (or at least wine), fs calls that actuallly access the filesystem like fs::equivalent or fs::exists seem to treat directory paths with trailing slashes as not existing, so it's necessary to normalize these paths before using them. This change passes canonical paths to fs calls validating the -walletdir path to fix this.
Diffstat (limited to 'src/test/txvalidation_tests.cpp')
0 files changed, 0 insertions, 0 deletions