HomePhabricator

[backport#15390] [wallet-tool] Close bdb when flushing wallet

Description

[backport#15390] [wallet-tool] Close bdb when flushing wallet

Summary:
[wallet] Close bdb when flushing wallet. (John Newbery)

Pull request description:

bdb would not be closed when closing the wallet in wallet-tool. Fix this by calling wallet->flush with true.

Backport of Core PR15390

Test Plan:

ninja check check-functional

Reviewers: #bitcoin_abc, deadalnix

Reviewed By: #bitcoin_abc, deadalnix

Subscribers: deadalnix

Differential Revision: https://reviews.bitcoinabc.org/D7327

Details

Provenance
MarcoFalke <falke.marco@gmail.com>Authored on Feb 13 2019, 20:49
majcostaCommitted on Sep 3 2020, 00:52
majcostaPushed on Sep 3 2020, 00:52
Reviewer
Restricted Project
Differential Revision
D7327: [backport#15390] [wallet-tool] Close bdb when flushing wallet
Parents
rABC07ed15814487: [backport#15122] [RPC] Expand help text for importmulti changes
Branches
Unknown
Tags
Unknown