aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/ismine.h
diff options
context:
space:
mode:
authorAndrew Chow <achow101-github@achow101.com>2019-06-06 10:00:00 +0200
committerAndrew Chow <achow101-github@achow101.com>2019-06-19 18:06:30 -0400
commite61de6306fd89fe9aae90253062e7b1b20343f8a (patch)
treef777e92758b6e5bba1ce33c97889b0e19c1b9671 /src/wallet/ismine.h
parent7c611e20007bf5face34d33dffa26c8db67e29ec (diff)
downloadbitcoin-e61de6306fd89fe9aae90253062e7b1b20343f8a.tar.xz
Change ismine to take a CWallet instead of CKeyStore
Diffstat (limited to 'src/wallet/ismine.h')
-rw-r--r--src/wallet/ismine.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/wallet/ismine.h b/src/wallet/ismine.h
index e20008feed..41555fcb93 100644
--- a/src/wallet/ismine.h
+++ b/src/wallet/ismine.h
@@ -11,7 +11,7 @@
#include <stdint.h>
#include <bitset>
-class CKeyStore;
+class CWallet;
class CScript;
/** IsMine() return codes */
@@ -28,8 +28,8 @@ enum isminetype : unsigned int
/** used for bitflags of isminetype */
typedef uint8_t isminefilter;
-isminetype IsMine(const CKeyStore& keystore, const CScript& scriptPubKey);
-isminetype IsMine(const CKeyStore& keystore, const CTxDestination& dest);
+isminetype IsMine(const CWallet& wallet, const CScript& scriptPubKey);
+isminetype IsMine(const CWallet& wallet, const CTxDestination& dest);
/**
* Cachable amount subdivided into watchonly and spendable parts.