diff options
| author | JaSK <[email protected]> | 2014-06-23 10:43:30 +0200 |
|---|---|---|
| committer | JaSK <[email protected]> | 2014-07-02 15:48:40 +0200 |
| commit | 53a2148f0c182b83da255972acb3110a74e9957a (patch) | |
| tree | 2092a5eb8fb3a28e3a2bc566a323bb8824a521b4 | |
| parent | fixed bug in ListReceived() (diff) | |
| download | discoin-53a2148f0c182b83da255972acb3110a74e9957a.tar.xz discoin-53a2148f0c182b83da255972acb3110a74e9957a.zip | |
fixed bug where validateaddress doesn't display information
| -rw-r--r-- | src/rpcmisc.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpcmisc.cpp b/src/rpcmisc.cpp index f0b4619b2..56accc1b3 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; |