aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/script/ismine.cpp8
-rw-r--r--src/script/ismine.h1
2 files changed, 1 insertions, 8 deletions
diff --git a/src/script/ismine.cpp b/src/script/ismine.cpp
index b826bcfe20..60384670b7 100644
--- a/src/script/ismine.cpp
+++ b/src/script/ismine.cpp
@@ -30,14 +30,8 @@ isminetype IsMine(const CKeyStore& keystore, const CScript& scriptPubKey, SigVer
isminetype IsMine(const CKeyStore& keystore, const CTxDestination& dest, SigVersion sigversion)
{
- bool isInvalid = false;
- return IsMine(keystore, dest, isInvalid, sigversion);
-}
-
-isminetype IsMine(const CKeyStore &keystore, const CTxDestination& dest, bool& isInvalid, SigVersion sigversion)
-{
CScript script = GetScriptForDestination(dest);
- return IsMine(keystore, script, isInvalid, sigversion);
+ return IsMine(keystore, script, sigversion);
}
isminetype IsMine(const CKeyStore &keystore, const CScript& scriptPubKey, bool& isInvalid, SigVersion sigversion)
diff --git a/src/script/ismine.h b/src/script/ismine.h
index f93a66e35a..b46722ecf9 100644
--- a/src/script/ismine.h
+++ b/src/script/ismine.h
@@ -35,7 +35,6 @@ typedef uint8_t isminefilter;
*/
isminetype IsMine(const CKeyStore& keystore, const CScript& scriptPubKey, bool& isInvalid, SigVersion = SigVersion::BASE);
isminetype IsMine(const CKeyStore& keystore, const CScript& scriptPubKey, SigVersion = SigVersion::BASE);
-isminetype IsMine(const CKeyStore& keystore, const CTxDestination& dest, bool& isInvalid, SigVersion = SigVersion::BASE);
isminetype IsMine(const CKeyStore& keystore, const CTxDestination& dest, SigVersion = SigVersion::BASE);
#endif // BITCOIN_SCRIPT_ISMINE_H