Skip to content

Commit

Permalink
fixed bug where validateaddress doesn't display information
Browse files Browse the repository at this point in the history
Rebased-from: 53a2148 bitcoin#4045
  • Loading branch information
sdkfjlsfjlskdfjlsdjflsjf authored and wtogami committed Oct 2, 2014
1 parent d225a5a commit 2086abe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rpcmisc.cpp
Expand Up @@ -114,7 +114,7 @@ class DescribeAddressVisitor : public boost::static_visitor<Object>
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;
Expand Down

0 comments on commit 2086abe

Please sign in to comment.