mirror of
https://github.com/mimblewimble/grin.git
synced 2025-05-07 09:41:15 +03:00
add more debug
This commit is contained in:
parent
24939d3808
commit
6bd7d7b19d
1 changed files with 3 additions and 2 deletions
|
@ -152,9 +152,10 @@ impl PruneList {
|
|||
}
|
||||
if min(idx as usize, self.shift_cache.len()) == 0 {
|
||||
println!(
|
||||
"idx: {}, shift_cache.len(): {}",
|
||||
"idx: {}, shift_cache.len(): {}, pos0: {}",
|
||||
idx,
|
||||
self.shift_cache.len()
|
||||
self.shift_cache.len(),
|
||||
pos0
|
||||
);
|
||||
}
|
||||
self.shift_cache[min(idx as usize, self.shift_cache.len()) - 1]
|
||||
|
|
Loading…
Add table
Reference in a new issue