Remove printf (#5941)

This commit is contained in:
Giulio rebuffo 2022-11-02 23:48:34 +01:00 committed by GitHub
parent 7590411ffc
commit 4840234ce9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)
}