mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-07-28 22:13:17 +02:00
wallet: refactor GetNewDestination, use BResult
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user