diff options
| author | James O'Beirne <[email protected]> | 2018-04-10 11:50:10 -0400 |
|---|---|---|
| committer | James O'Beirne <[email protected]> | 2018-04-25 13:08:53 -0400 |
| commit | c5b277033a72650c221084ec0f1326623a810fd0 (patch) | |
| tree | 4ea793666e91c081e738dcab2cdfe2078c2e60c3 /src/interfaces/wallet.h | |
| parent | Merge #13073: test: add rpcauth-test to AC_CONFIG_LINKS to fix out-of-tree ma... (diff) | |
| download | discoin-c5b277033a72650c221084ec0f1326623a810fd0.tar.xz discoin-c5b277033a72650c221084ec0f1326623a810fd0.zip | |
Add purpose arg to Wallet::getAddress
Also make all arguments to getAddress required and document args at call sites.
Diffstat (limited to 'src/interfaces/wallet.h')
| -rw-r--r-- | src/interfaces/wallet.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/interfaces/wallet.h b/src/interfaces/wallet.h index 2a03f6c60..ff779cd0a 100644 --- a/src/interfaces/wallet.h +++ b/src/interfaces/wallet.h @@ -99,8 +99,9 @@ public: //! Look up address in wallet, return whether exists. virtual bool getAddress(const CTxDestination& dest, - std::string* name = nullptr, - isminetype* is_mine = nullptr) = 0; + std::string* name, + isminetype* is_mine, + std::string* purpose) = 0; //! Get wallet address list. virtual std::vector<WalletAddress> getAddresses() = 0; |