diff options
| author | Pieter Wuille <[email protected]> | 2017-08-25 19:55:52 -0700 |
|---|---|---|
| committer | Pieter Wuille <[email protected]> | 2017-09-28 16:24:30 -0700 |
| commit | c091b99379b97cb314c9fa123beabdbc324cf7a4 (patch) | |
| tree | f1cc720f195b18842831f964a3dd1fc71d29a4ff /src/wallet/rpcwallet.cpp | |
| parent | Add regtest testing to base58_tests (diff) | |
| download | discoin-c091b99379b97cb314c9fa123beabdbc324cf7a4.tar.xz discoin-c091b99379b97cb314c9fa123beabdbc324cf7a4.zip | |
Implement BIP173 addresses and tests
Diffstat (limited to 'src/wallet/rpcwallet.cpp')
| -rw-r--r-- | src/wallet/rpcwallet.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/wallet/rpcwallet.cpp b/src/wallet/rpcwallet.cpp index ae89b3c0a..8e2b7d04a 100644 --- a/src/wallet/rpcwallet.cpp +++ b/src/wallet/rpcwallet.cpp @@ -1158,8 +1158,6 @@ public: explicit Witnessifier(CWallet *_pwallet) : pwallet(_pwallet) {} - bool operator()(const CNoDestination &dest) const { return false; } - bool operator()(const CKeyID &keyID) { if (pwallet) { CScript basescript = GetScriptForDestination(keyID); @@ -1203,6 +1201,9 @@ public: } return false; } + + template<typename T> + bool operator()(const T& dest) { return false; } }; UniValue addwitnessaddress(const JSONRPCRequest& request) |