diff options
Diffstat (limited to 'src/script.cpp')
-rw-r--r-- | src/script.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/script.cpp b/src/script.cpp index 652240f686..d1e747251b 100644 --- a/src/script.cpp +++ b/src/script.cpp @@ -1138,10 +1138,11 @@ bool ExtractAddress(const CScript& scriptPubKey, const CKeyStore* keystore, CBit addressRet.SetPubKey(item.second); else if (item.first == OP_PUBKEYHASH) addressRet.SetHash160((uint160)item.second); - if (keystore == NULL || keystore->HaveKey(addressRet)) + //if (keystore == NULL || keystore->HaveKey(addressRet)) return true; } } + return false; } |