Skip to content

Commit

Permalink
reduce logs verbosity
Browse files Browse the repository at this point in the history
  • Loading branch information
gballet committed Feb 22, 2024
1 parent f697084 commit c642a03
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion core/overlay/conversion.go
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,9 @@ func OverlayVerkleTransition(statedb *state.StateDB, root common.Hash, maxMovedC
if crypto.Keccak256Hash(addr[:]) != accIt.Hash() {
return fmt.Errorf("preimage file does not match account hash: %s != %s", crypto.Keccak256Hash(addr[:]), accIt.Hash())
}
fmt.Printf("Converting account address hash=%x addr=%x", accIt.Hash(), addr)
if count%100 == 0 {
fmt.Printf("Converting account address hash=%x addr=%x\n", accIt.Hash(), addr)
}
preimageSeek += int64(len(addr))
migrdb.SetCurrentAccountAddress(addr)
} else {
Expand Down

0 comments on commit c642a03

Please sign in to comment.