-
-
Notifications
You must be signed in to change notification settings - Fork 357
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Hotfix for the inability to add tx to mempool
- Loading branch information
Andrey
committed
Apr 24, 2019
1 parent
9d7148d
commit c58d07d
Showing
3 changed files
with
4 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -528,8 +528,8 @@ bool CheckZerocoinTransaction(const CTransaction &tx, | |
bool fStatefulZerocoinCheck, | ||
CZerocoinTxInfo *zerocoinTxInfo) | ||
{ | ||
if (nHeight >= params.nDisableZerocoinStartBlock) | ||
return state.DoS(100, error("Zerocoin is disabled at this point")); | ||
if ((tx.IsZerocoinSpend() || tx.IsZerocoinMint()) && nHeight >= params.nDisableZerocoinStartBlock) | ||
return state.DoS(1, error("Zerocoin is disabled at this point")); | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
psolstice
Contributor
|
||
|
||
// Check Mint Zerocoin Transaction | ||
BOOST_FOREACH(const CTxOut &txout, tx.vout) { | ||
|
Please change to 100 later release