diff options
author | Daniel Kraft <d@domob.eu> | 2018-07-15 11:17:50 +0200 |
---|---|---|
committer | Daniel Kraft <d@domob.eu> | 2018-07-15 16:38:33 +0200 |
commit | a1a998cf24c0cf1232e44ec8eaf2ad6875ab5153 (patch) | |
tree | 6249e34b5f3cdd184eaba9425371d028d157bd2e /test/functional/wallet_basic.py | |
parent | 8803c9132a78d8182bd828a29f7051fc7688f934 (diff) | |
download | bitcoin-a1a998cf24c0cf1232e44ec8eaf2ad6875ab5153.tar.xz |
wallet: Fix backupwallet for multiwallets
backupwallet was broken for multiwallets in their own directories
(i.e. something like DATADIR/wallets/mywallet/wallet.dat). In this
case, the backup would use DATADIR/wallets/wallet.dat as source file
and not take the specific wallet's directory into account.
This led to either an error during the backup (if the wrong source
file was not present) or would silently back up the wrong wallet;
especially the latter behaviour can be quite bad for users.
Diffstat (limited to 'test/functional/wallet_basic.py')
0 files changed, 0 insertions, 0 deletions