From 89fbc1a39ea98fb0086bcb819d844dd2c56a8b85 Mon Sep 17 00:00:00 2001
From: librelois <elois@ifee.fr>
Date: Thu, 25 Jan 2018 14:01:29 +0100
Subject: [PATCH] [fix] #1260

---
 app/lib/rules/local_rules.ts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app/lib/rules/local_rules.ts b/app/lib/rules/local_rules.ts
index 1ce1ebd17..93b8e4aa1 100644
--- a/app/lib/rules/local_rules.ts
+++ b/app/lib/rules/local_rules.ts
@@ -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
     }
-- 
GitLab