diff options
author | furszy <matiasfurszyfer@protonmail.com> | 2022-04-27 10:37:50 -0300 |
---|---|---|
committer | furszy <matiasfurszyfer@protonmail.com> | 2022-06-08 10:26:48 -0300 |
commit | 91902b77202fc636edb3db587cb6e87d9fb9b60a (patch) | |
tree | db865522da24521a1cf7453ee8038c7ba0b6a584 /src/wallet/wallet.h | |
parent | 9472ca0a65396206b3078bddf98f4c1807be2d82 (diff) | |
download | bitcoin-91902b77202fc636edb3db587cb6e87d9fb9b60a.tar.xz |
wallet: IsLockedCoin, '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 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); |