Skip to content

Commit

Permalink
[zPIV] Disable zerocoins inclusion in 'SelectStakeCoins'
Browse files Browse the repository at this point in the history
  • Loading branch information
random-zebra committed May 15, 2019
1 parent 0c071c3 commit a789d21
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/wallet/wallet.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2150,6 +2150,7 @@ bool CWallet::SelectStakeCoins(std::list<std::unique_ptr<CStakeInput> >& listInp
}
}

/* Disable zPIV Staking
//zPIV
if ((GetBoolArg("-zpivstake", true) || fPrecompute) && chainActive.Height() > Params().Zerocoin_Block_V2_Start() && !IsSporkActive(SPORK_16_ZEROCOIN_MAINTENANCE_MODE)) {
//Only update zPIV set once per update interval
Expand Down Expand Up @@ -2179,7 +2180,7 @@ bool CWallet::SelectStakeCoins(std::list<std::unique_ptr<CStakeInput> >& listInp
}
}
}

*/
return true;
}

Expand Down

0 comments on commit a789d21

Please sign in to comment.