diff options
author | furszy <matiasfurszyfer@protonmail.com> | 2022-04-27 10:52:30 -0300 |
---|---|---|
committer | furszy <matiasfurszyfer@protonmail.com> | 2022-06-08 11:22:39 -0300 |
commit | a06fa94ff81e2bccef0316ea5ec4eca0f4de5071 (patch) | |
tree | 2539c545d00292374270690795d78a91b92fee6c /src/wallet/wallet.h | |
parent | 91902b77202fc636edb3db587cb6e87d9fb9b60a (diff) | |
download | bitcoin-a06fa94ff81e2bccef0316ea5ec4eca0f4de5071.tar.xz |
wallet: IsSpent, 'COutPoint' arg instead of (hash, index)
Diffstat (limited to 'src/wallet/wallet.h')
-rw-r--r-- | src/wallet/wallet.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/wallet.h b/src/wallet/wallet.h index bd4a4b2846..7969b59f4a 100644 --- a/src/wallet/wallet.h +++ b/src/wallet/wallet.h @@ -441,7 +441,7 @@ public: //! check whether we support the named feature bool CanSupportFeature(enum WalletFeature wf) const override EXCLUSIVE_LOCKS_REQUIRED(cs_wallet) { AssertLockHeld(cs_wallet); return IsFeatureSupported(nWalletVersion, wf); } - bool IsSpent(const uint256& hash, unsigned int n) const EXCLUSIVE_LOCKS_REQUIRED(cs_wallet); + bool IsSpent(const COutPoint& outpoint) const EXCLUSIVE_LOCKS_REQUIRED(cs_wallet); // Whether this or any known UTXO with the same single key has been spent. bool IsSpentKey(const uint256& hash, unsigned int n) const EXCLUSIVE_LOCKS_REQUIRED(cs_wallet); |