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

delay the chaining trigger to 1st Mar

parent 0e96b4a6
No related branches found
No related tags found
2 merge requests!12331.6,!1230Fix/1.6/tx chaining
...@@ -385,7 +385,7 @@ export const LOCAL_RULES_FUNCTIONS = { ...@@ -385,7 +385,7 @@ export const LOCAL_RULES_FUNCTIONS = {
const sindex = Indexer.sindex(index) const sindex = Indexer.sindex(index)
const max = getMaxTransactionDepth(sindex) const max = getMaxTransactionDepth(sindex)
// //
const allowedMax = block.medianTime > 1517443200 ? CommonConstants.BLOCK_MAX_TX_CHAINING_DEPTH : 1 const allowedMax = block.medianTime > 1519862400 ? CommonConstants.BLOCK_MAX_TX_CHAINING_DEPTH : 1
if (max > allowedMax) { if (max > allowedMax) {
throw "The maximum transaction chaining length per block is " + CommonConstants.BLOCK_MAX_TX_CHAINING_DEPTH 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