From 3a45dc36a663ea67f13e7d5c413518b9385ec594 Mon Sep 17 00:00:00 2001 From: Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> Date: Mon, 10 Jan 2022 23:55:31 +0200 Subject: Change type of `backup_file` parameter in RestoreWallet/restoreWallet `fs::path` looks more native than `std::string` for a parameter which represents a backup file. This change eliminates back-and-forth type conversions. --- src/interfaces/wallet.h | 3 ++- src/wallet/interfaces.cpp | 2 +- src/wallet/rpc/backup.cpp | 2 +- src/wallet/wallet.cpp | 6 +++--- src/wallet/wallet.h | 3 ++- 5 files changed, 9 insertions(+), 7 deletions(-) (limited to 'src') diff --git a/src/interfaces/wallet.h b/src/interfaces/wallet.h index c81ec30227..a83f0727a1 100644 --- a/src/interfaces/wallet.h +++ b/src/interfaces/wallet.h @@ -6,6 +6,7 @@ #define BITCOIN_INTERFACES_WALLET_H #include +#include #include // For ChainClient #include // For CKeyID and CScriptID (definitions needed in CTxDestination instantiation) #include