Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[sin] Use COINs for local value checks
  • Loading branch information
giaki3003 committed Apr 21, 2021
1 parent 9ad6895 commit a91d775
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wallet/wallet.cpp
Expand Up @@ -388,7 +388,7 @@ bool CWallet::StakeableCoins(std::vector<CStakeableOutput>* pCoins)
for (unsigned int index = 0; index < pcoin->tx->vout.size(); index++) {

// Check min value requirement for stake inputs
if (pcoin->tx->vout[index].nValue < Params().GetConsensus().nPoSMinStakeValue) continue;
if (pcoin->tx->vout[index].nValue < Params().GetConsensus().nPoSMinStakeValue * COIN) continue;

auto res = CheckOutputAvailability(
pcoin->tx->vout[index],
Expand Down

0 comments on commit a91d775

Please sign in to comment.