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
Branch
PR14552
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 8834
Build 15643: Default Diff Build & Tests
Build 15642: arc lint + arc unit

Event Timeline

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