Skip to content

Commit

Permalink
[wallet] Remove unreachable IsZPIV() in CreateCoinStake
Browse files Browse the repository at this point in the history
  • Loading branch information
furszy committed Apr 24, 2021
1 parent 22872bb commit 433a14e
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/wallet/wallet.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3254,13 +3254,6 @@ bool CWallet::CreateCoinStake(
continue;
}

// This should never happen
if (stakeInput.IsZPIV()) {
LogPrintf("%s: ERROR - zPOS is disabled\n", __func__);
it++;
continue;
}

nCredit = 0;

nAttempts++;
Expand Down

0 comments on commit 433a14e

Please sign in to comment.