cmds/dag.stat: remove printf debug
Oops lol.
Jorropo committed
Jun 6, 2023 at 15:43 UTC
d86e227a5d115b9ad2347aa38dacd67d732386f9
1 file changed
-1
core/commands/dag/stat.go
-1
@@ -47,7 +47,6 @@ func dagStat(req *cmds.Request, res cmds.ResponseEmitter, env cmds.Environment)
47
DAG: nodeGetter,
48
Order: traverse.DFSPre,
49
Func: func(current traverse.State) error {
50
- fmt.Println("previousDagStatSize:", dagstats.Size)
50
currentNodeSize := uint64(len(current.Node.RawData()))
51
dagstats.Size += currentNodeSize
52
dagstats.NumBlocks++