Skip to content
Snippets Groups Projects
Unverified Commit 89fbc1a3 authored by Éloïs's avatar Éloïs
Browse files

[fix] #1260

parent 0ecc4a2c
No related branches found
No related tags found
1 merge request!1239Resolve "default TransactionDepth must be zero"
......@@ -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 : 1
const allowedMax = block.medianTime > 1519862400 ? CommonConstants.BLOCK_MAX_TX_CHAINING_DEPTH : 0
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