aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet.h
diff options
context:
space:
mode:
authorfurszy <matiasfurszyfer@protonmail.com>2022-04-27 11:08:53 -0300
committerfurszy <matiasfurszyfer@protonmail.com>2022-06-08 11:22:40 -0300
commitcdf185ccfb2085e5a4bf82d833392d74b748aeff (patch)
tree120b8b850fbd7a34f8a54e52d635043958dd4750 /src/wallet/wallet.h
parent4b83bf8dbcf6b8b1c1293575391e90ac7e21b0e0 (diff)
wallet: remove unused IsSpentKey(hash, index) method
Diffstat (limited to 'src/wallet/wallet.h')
-rw-r--r--src/wallet/wallet.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/wallet/wallet.h b/src/wallet/wallet.h
index 61b59e7895..a75b6981e1 100644
--- a/src/wallet/wallet.h
+++ b/src/wallet/wallet.h
@@ -443,8 +443,7 @@ public:
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);
+ // Whether this or any known scriptPubKey with the same single key has been spent.
bool IsSpentKey(const CScript& scriptPubKey) const EXCLUSIVE_LOCKS_REQUIRED(cs_wallet);
void SetSpentKeyState(WalletBatch& batch, const uint256& hash, unsigned int n, bool used, std::set<CTxDestination>& tx_destinations) EXCLUSIVE_LOCKS_REQUIRED(cs_wallet);