wip: truncate the change list iwhen dumpping.
This commit is contained in:
parent
f7a4ec80a5
commit
ee78f16ecc
1 changed files with 1 additions and 1 deletions
|
@ -125,7 +125,7 @@ func (nm *NodeMgr) Show(name string, ht claim.Height, dump bool) error {
|
|||
}
|
||||
fmt.Printf("[%s] %s\n", name, n)
|
||||
if dump {
|
||||
change.NewChangeList(nm.db, name).Load().Dump()
|
||||
change.NewChangeList(nm.db, name).Load().Truncate(ht).Dump()
|
||||
}
|
||||
}
|
||||
return nil
|
||||
|
|
Loading…
Reference in a new issue