aboutsummaryrefslogtreecommitdiff
path: root/src/script
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2018-04-18 14:48:06 -0700
committerPieter Wuille <pieter.wuille@gmail.com>2018-04-18 17:08:53 -0700
commitfb1dfbbec0e57d57188a47406c49487f2145549e (patch)
treea1b15ced0b0667063f34e037a8bc61d00ae9bea6 /src/script
parent952d8213a6d44b8eeff42f3a52defcaa1bc4a0dc (diff)
Remove unused IsMine overload
Diffstat (limited to 'src/script')
-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