Skip to content

Commit

Permalink
chore: remove debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
fkrause98 committed Dec 6, 2024
1 parent c757b92 commit 4c67008
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/devp2p/internal/ethtest/conn.go
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ func (c *Conn) Read() (uint64, []byte, error) {

// ReadMsg attempts to read a devp2p message with a specific code.
func (c *Conn) ReadMsg(proto Proto, code uint64, msg any) error {
// c.SetReadDeadline(time.Now().Add(timeout))
c.SetReadDeadline(time.Now().Add(timeout))
for {
got, data, err := c.Read()
if err != nil {
Expand Down
1 change: 0 additions & 1 deletion rlp/decode.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,6 @@ func Decode(r io.Reader, val interface{}) error {
// DecodeBytes parses RLP data from b into val. Please see package-level documentation for
// the decoding rules. The input must contain exactly one value and no trailing data.
func DecodeBytes(b []byte, val interface{}) error {
fmt.Printf("DECODED BYTES: %v\n", b)
r := (*sliceReader)(&b)

stream := streamPool.Get().(*Stream)
Expand Down

0 comments on commit 4c67008

Please sign in to comment.