diff options
author | Pieter Wuille <pieter.wuille@gmail.com> | 2018-04-18 14:48:06 -0700 |
---|---|---|
committer | Pieter Wuille <pieter.wuille@gmail.com> | 2018-04-18 17:08:53 -0700 |
commit | fb1dfbbec0e57d57188a47406c49487f2145549e (patch) | |
tree | a1b15ced0b0667063f34e037a8bc61d00ae9bea6 /src/script/ismine.cpp | |
parent | 952d8213a6d44b8eeff42f3a52defcaa1bc4a0dc (diff) |
Remove unused IsMine overload
Diffstat (limited to 'src/script/ismine.cpp')
-rw-r--r-- | src/script/ismine.cpp | 8 |
1 files changed, 1 insertions, 7 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) |