mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
remove debug logging
This commit is contained in:
parent
914343c6cc
commit
9a158dd749
2 changed files with 0 additions and 5 deletions
|
|
@ -177,12 +177,10 @@ func (w *Witness) Summary() string {
|
|||
panic(err)
|
||||
}
|
||||
totBlock := len(xx)
|
||||
fmt.Printf("total block size is %d\n", totBlock)
|
||||
|
||||
yy := w.EncodeRLP()
|
||||
|
||||
totWit := len(yy)
|
||||
fmt.Printf("yy len is %d\n", totWit)
|
||||
totCode := 0
|
||||
for _, c := range w.codes {
|
||||
totCode += len(c)
|
||||
|
|
|
|||
|
|
@ -1253,9 +1253,6 @@ func (s *StateDB) Commit(block uint64, deleteEmptyObjects bool) (common.Hash, er
|
|||
if err != nil {
|
||||
return common.Hash{}, err
|
||||
}
|
||||
if set != nil {
|
||||
fmt.Printf("leaf count: %d\n", len(set.Leaves))
|
||||
}
|
||||
// Merge the dirty nodes of account trie into global set
|
||||
if set != nil {
|
||||
if err := nodes.Merge(set); err != nil {
|
||||
|
|
|
|||
Loading…
Reference in a new issue