Skip to content
Snippets Groups Projects
Commit 0ecc4a2c authored by Éloïs's avatar Éloïs
Browse files

Revert "[fix] default TransactionDepth is zero"

This reverts commit 065e44a5
parent 065e44a5
No related branches found
No related tags found
No related merge requests found
......@@ -385,7 +385,7 @@ export const LOCAL_RULES_FUNCTIONS = {
const sindex = Indexer.sindex(index)
const max = getMaxTransactionDepth(sindex)
//
const allowedMax = block.medianTime > 1519862400 ? CommonConstants.BLOCK_MAX_TX_CHAINING_DEPTH : 0
const allowedMax = block.medianTime > 1519862400 ? CommonConstants.BLOCK_MAX_TX_CHAINING_DEPTH : 1
if (max > allowedMax) {
throw "The maximum transaction chaining length per block is " + CommonConstants.BLOCK_MAX_TX_CHAINING_DEPTH
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment