aboutsummaryrefslogtreecommitdiff
path: root/src/rpcmisc.cpp
diff options
context:
space:
mode:
authorJaSK <temp@temp.temp>2014-06-23 10:43:30 +0200
committerJaSK <temp@temp.temp>2014-07-02 15:48:40 +0200
commit53a2148f0c182b83da255972acb3110a74e9957a (patch)
tree2092a5eb8fb3a28e3a2bc566a323bb8824a521b4 /src/rpcmisc.cpp
parentf28707a845d4098fed55a6948887d60043fcfde7 (diff)
fixed bug where validateaddress doesn't display information
Diffstat (limited to 'src/rpcmisc.cpp')
-rw-r--r--src/rpcmisc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpcmisc.cpp b/src/rpcmisc.cpp
index f0b4619b26..56accc1b3a 100644
--- a/src/rpcmisc.cpp
+++ b/src/rpcmisc.cpp
@@ -115,7 +115,7 @@ public:
Object operator()(const CScriptID &scriptID) const {
Object obj;
obj.push_back(Pair("isscript", true));
- if (mine == MINE_SPENDABLE) {
+ if (mine != MINE_NO) {
CScript subscript;
pwalletMain->GetCScript(scriptID, subscript);
std::vector<CTxDestination> addresses;