Remove unused variables

This commit is contained in:
MarcoFalke
2020-06-05 15:20:50 -04:00
parent 23b2a68df5
commit fa09ec83f3
3 changed files with 0 additions and 4 deletions

View File

@@ -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);