Skip to content

Commit

Permalink
Removeing unnecessary code
Browse files Browse the repository at this point in the history
  • Loading branch information
levonpetrosyan93 committed Dec 3, 2019
1 parent d30ce00 commit 011ac04
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/sigma.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -280,9 +280,6 @@ bool CheckSigmaSpendTransaction(
auto params = ::Params().GetConsensus();
bool fShouldPad = (nHeight != INT_MAX && nHeight >= params.nSigmaPaddingBlock) ||
(nHeight == INT_MAX && chainActive.Height() >= params.nSigmaPaddingBlock);
//Accept both padded and not padded spends at HF block
if(nHeight == params.nSigmaPaddingBlock)
fShouldPad = fPadding;
if (fPadding != fShouldPad)
return state.DoS(1, error("Incorrect sigma spend transaction version"));
}
Expand Down

0 comments on commit 011ac04

Please sign in to comment.