Page MenuHomePhabricator

wallet: detecting duplicate wallet by comparing the db filename.
ClosedPublic

Authored by Fabien on Jan 10 2020, 17:20.

Details

Summary
Fix crash attempting to load the same wallet with different path strings
that resolve to the same absolute path.

More details here:
https://github.com/bitcoin/bitcoin/pull/14552

Backport of core PR14552:
https://github.com/bitcoin/bitcoin/pull/14552/files

Depends on D4885.

Test Plan
ninja check
./test/functional/test_runner.py wallet_*

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

This revision is now accepted and ready to land.Jan 10 2020, 17:48