mirror of
https://github.com/mimblewimble/grin.git
synced 2025-02-01 17:01:09 +03:00
Allowing for dumping of larger sum trees on error
This commit is contained in:
parent
47255f1250
commit
5b462ee2fc
1 changed files with 1 additions and 1 deletions
|
@ -391,7 +391,7 @@ where
|
||||||
/// only prints the last 8 nodes.
|
/// only prints the last 8 nodes.
|
||||||
pub fn dump(&self, short: bool) {
|
pub fn dump(&self, short: bool) {
|
||||||
let sz = self.unpruned_size();
|
let sz = self.unpruned_size();
|
||||||
if sz > 600 {
|
if sz > 2000 && !short {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
let start = if short && sz > 7 { sz / 8 - 1 } else { 0 };
|
let start = if short && sz > 7 { sz / 8 - 1 } else { 0 };
|
||||||
|
|
Loading…
Reference in a new issue