aboutsummaryrefslogtreecommitdiff
path: root/src/wallet
diff options
context:
space:
mode:
authorfanquake <[email protected]>2020-06-17 16:30:19 +0800
committerfanquake <[email protected]>2020-06-17 16:51:06 +0800
commit3faf3429e905ff5b802704e3482fadc0b613ced2 (patch)
treef5b503b25199c20f38dd21c4542ec5438059ce9a /src/wallet
parentMerge #19294: test: refactor: Inline adjust_bitcoin_conf_for_pre_17 (diff)
parentAdd missing includes to fix compile errors (diff)
downloaddiscoin-3faf3429e905ff5b802704e3482fadc0b613ced2.tar.xz
discoin-3faf3429e905ff5b802704e3482fadc0b613ced2.zip
Merge #19299: refactor: Remove unused vars, Add missing includes
fa193c6b1b7da8f72a399bfddb1497655ce1685c Add missing includes to fix compile errors (MarcoFalke) fa09ec83f3f23dacb807c6b6393cabf2a984e4ff Remove unused variables (MarcoFalke) Pull request description: This is required for #19183, but seems like good cleanup that can go in upfront. ACKs for top commit: practicalswift: ACK fa193c6b1b7da8f72a399bfddb1497655ce1685c -- patch looks correct hebasto: ACK fa193c6b1b7da8f72a399bfddb1497655ce1685c, I have reviewed the code and it looks OK, I agree it can be merged. Tree-SHA512: 79b94e7f7ee3a1a8a8fb2ea1ecdf61f130f8b133a37865894da3dbbbf311979e7d1fc013b923fdd7dbf19a221e0232f664defbdb57aa44e0b8c45bfff3c71dcb
Diffstat (limited to 'src/wallet')
-rw-r--r--src/wallet/wallet.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/wallet/wallet.cpp b/src/wallet/wallet.cpp
index 567c91a45..cf42c1cb3 100644
--- a/src/wallet/wallet.cpp
+++ b/src/wallet/wallet.cpp
@@ -746,7 +746,6 @@ void CWallet::SetSpentKeyState(WalletBatch& batch, const uint256& hash, unsigned
bool CWallet::IsSpentKey(const uint256& hash, unsigned int n) const
{
AssertLockHeld(cs_wallet);
- CTxDestination dst;
const CWalletTx* srctx = GetWalletTx(hash);
if (srctx) {
assert(srctx->tx->vout.size() > n);