From 91902b77202fc636edb3db587cb6e87d9fb9b60a Mon Sep 17 00:00:00 2001 From: furszy Date: Wed, 27 Apr 2022 10:37:50 -0300 Subject: wallet: IsLockedCoin, 'COutPoint' arg instead of (hash, index) --- src/wallet/wallet.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/wallet/wallet.h') diff --git a/src/wallet/wallet.h b/src/wallet/wallet.h index 7da601c3b7..bd4a4b2846 100644 --- a/src/wallet/wallet.h +++ b/src/wallet/wallet.h @@ -450,7 +450,7 @@ public: /** Display address on an external signer. Returns false if external signer support is not compiled */ bool DisplayAddress(const CTxDestination& dest) EXCLUSIVE_LOCKS_REQUIRED(cs_wallet); - bool IsLockedCoin(uint256 hash, unsigned int n) const EXCLUSIVE_LOCKS_REQUIRED(cs_wallet); + bool IsLockedCoin(const COutPoint& output) const EXCLUSIVE_LOCKS_REQUIRED(cs_wallet); bool LockCoin(const COutPoint& output, WalletBatch* batch = nullptr) EXCLUSIVE_LOCKS_REQUIRED(cs_wallet); bool UnlockCoin(const COutPoint& output, WalletBatch* batch = nullptr) EXCLUSIVE_LOCKS_REQUIRED(cs_wallet); bool UnlockAllCoins() EXCLUSIVE_LOCKS_REQUIRED(cs_wallet); -- cgit v1.2.3