aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet.h
diff options
context:
space:
mode:
authorSebastian Falbesoner <sebastian.falbesoner@gmail.com>2022-07-20 19:06:57 +0200
committerSebastian Falbesoner <sebastian.falbesoner@gmail.com>2022-08-05 17:19:09 +0200
commit76b3c37fcb93b4bcb047e0500fdaa605160e25d5 (patch)
tree19111f09b156efcb3ea47bf0652057a55eef91a5 /src/wallet/wallet.h
parent006740b6f6475ed6ae08803c60dd82027602695b (diff)
refactor: wallet: return util::Result from `GetReservedDestination` methods
Diffstat (limited to 'src/wallet/wallet.h')
-rw-r--r--src/wallet/wallet.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/wallet.h b/src/wallet/wallet.h
index f2b9723840..ae7b9312ae 100644
--- a/src/wallet/wallet.h
+++ b/src/wallet/wallet.h
@@ -189,7 +189,7 @@ public:
}
//! Reserve an address
- bool GetReservedDestination(CTxDestination& pubkey, bool internal, bilingual_str& error);
+ util::Result<CTxDestination> GetReservedDestination(bool internal);
//! Return reserved address
void ReturnDestination();
//! Keep the address. Do not return it's key to the keypool when this object goes out of scope