From 5b462ee2fc4f0cdb9e015c5bebbb11329288aa52 Mon Sep 17 00:00:00 2001 From: Ignotus Peverell Date: Wed, 1 Nov 2017 19:32:49 -0400 Subject: [PATCH] Allowing for dumping of larger sum trees on error --- core/src/core/pmmr.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/core/pmmr.rs b/core/src/core/pmmr.rs index 59ac84d5..346f2d8a 100644 --- a/core/src/core/pmmr.rs +++ b/core/src/core/pmmr.rs @@ -391,7 +391,7 @@ where /// only prints the last 8 nodes. pub fn dump(&self, short: bool) { let sz = self.unpruned_size(); - if sz > 600 { + if sz > 2000 && !short { return; } let start = if short && sz > 7 { sz / 8 - 1 } else { 0 };