Skip to content

Commit

Permalink
Merge dashpay#899: [zPIV] Disable zPIV staking
Browse files Browse the repository at this point in the history
a789d21 [zPIV] Disable zerocoins inclusion in 'SelectStakeCoins' (random-zebra)

Tree-SHA512: 92da55ee6efe3090ad1b279e3ad4d1f757ca70d0a4b1f820a36b4d5d6dcef126002fc6c2402b2b8d34618f212a192d8dc7505f98a0050691d152ba5a17fb1821
  • Loading branch information
Fuzzbawls committed Jun 7, 2019
2 parents 65bd788 + a789d21 commit 4b22a09
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 @@ -2155,6 +2155,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 @@ -2184,7 +2185,7 @@ bool CWallet::SelectStakeCoins(std::list<std::unique_ptr<CStakeInput> >& listInp
}
}
}

*/
return true;
}

Expand Down

0 comments on commit 4b22a09

Please sign in to comment.