fixed bug where validateaddress doesn't display information

This commit is contained in:
JaSK 2014-06-23 10:43:30 +02:00
parent f28707a845
commit 53a2148f0c

View File

@ -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;