chore: remove debug lines

This commit is contained in:
Derrick Hammer 2024-01-09 17:17:45 -05:00
parent f6e005c497
commit 528e1a6c27
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
2 changed files with 0 additions and 3 deletions

View File

@ -41,7 +41,6 @@ func (s *StorageLocation) HandleMessage(node interfaces.Node, peer net.Peer, ver
msg := s.IncomingMessage().Original() msg := s.IncomingMessage().Original()
hash := encoding.NewMultihash(msg[1:34]) // Replace NewMultihash with appropriate function hash := encoding.NewMultihash(msg[1:34]) // Replace NewMultihash with appropriate function
fmt.Println("Hash:", hash)
typeOfData := msg[34] typeOfData := msg[34]

View File

@ -17,7 +17,6 @@ import (
bolt "go.etcd.io/bbolt" bolt "go.etcd.io/bbolt"
"go.uber.org/zap" "go.uber.org/zap"
"net/url" "net/url"
"reflect"
"sort" "sort"
"sync" "sync"
"time" "time"
@ -298,7 +297,6 @@ func (p *P2PImpl) OnNewPeerListen(peer net.Peer, verifyId bool) {
imsg.SetOriginal(message) imsg.SetOriginal(message)
handler.SetIncomingMessage(imsg) handler.SetIncomingMessage(imsg)
handler.SetSelf(handler) handler.SetSelf(handler)
fmt.Println(reflect.TypeOf(handler))
err := msgpack.Unmarshal(imsg.Data(), handler) err := msgpack.Unmarshal(imsg.Data(), handler)
if err != nil { if err != nil {
return err return err