aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces
diff options
context:
space:
mode:
authorfurszy <matiasfurszyfer@protonmail.com>2022-05-24 21:59:54 -0300
committerfurszy <matiasfurszyfer@protonmail.com>2022-07-08 11:18:35 -0300
commit111ea3ab711414236f8678566a7884d48619b2d8 (patch)
tree5d4fa02e5aeb208d51f268dec3e6bcf1350e0a98 /src/interfaces
parent22351725bc4c5eb63ee45f607374bbf2d76e2b8c (diff)
wallet: refactor GetNewDestination, use BResult
Diffstat (limited to 'src/interfaces')
-rw-r--r--src/interfaces/wallet.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/interfaces/wallet.h b/src/interfaces/wallet.h
index 00d238f186..fe198c999b 100644
--- a/src/interfaces/wallet.h
+++ b/src/interfaces/wallet.h
@@ -88,7 +88,7 @@ public:
virtual std::string getWalletName() = 0;
// Get a new address.
- virtual bool getNewDestination(const OutputType type, const std::string label, CTxDestination& dest) = 0;
+ virtual BResult<CTxDestination> getNewDestination(const OutputType type, const std::string label) = 0;
//! Get public key.
virtual bool getPubKey(const CScript& script, const CKeyID& address, CPubKey& pub_key) = 0;