mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2025-01-10 21:11:20 +00:00
Remove printf (#5941)
This commit is contained in:
parent
7590411ffc
commit
4840234ce9
@ -2,7 +2,6 @@ package cldb
|
||||
|
||||
import (
|
||||
"encoding/binary"
|
||||
"fmt"
|
||||
|
||||
"github.com/ledgerwatch/erigon-lib/kv"
|
||||
"github.com/ledgerwatch/erigon/cl/cltypes"
|
||||
@ -22,8 +21,6 @@ func WriteBeaconState(tx kv.Putter, state *cltypes.BeaconState) error {
|
||||
return err
|
||||
}
|
||||
|
||||
fmt.Printf("Bytes written in state: %d bytes\n", len(data)+4)
|
||||
|
||||
return tx.Put(kv.BeaconState, EncodeSlot(state.Slot), data)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user