diff --git a/protocol/storage_location.go b/protocol/storage_location.go index cd924aa..eb285eb 100644 --- a/protocol/storage_location.go +++ b/protocol/storage_location.go @@ -41,7 +41,6 @@ func (s *StorageLocation) HandleMessage(node interfaces.Node, peer net.Peer, ver msg := s.IncomingMessage().Original() hash := encoding.NewMultihash(msg[1:34]) // Replace NewMultihash with appropriate function - fmt.Println("Hash:", hash) typeOfData := msg[34] diff --git a/service/p2p.go b/service/p2p.go index e60c8b3..4ea474d 100644 --- a/service/p2p.go +++ b/service/p2p.go @@ -17,7 +17,6 @@ import ( bolt "go.etcd.io/bbolt" "go.uber.org/zap" "net/url" - "reflect" "sort" "sync" "time" @@ -298,7 +297,6 @@ func (p *P2PImpl) OnNewPeerListen(peer net.Peer, verifyId bool) { imsg.SetOriginal(message) handler.SetIncomingMessage(imsg) handler.SetSelf(handler) - fmt.Println(reflect.TypeOf(handler)) err := msgpack.Unmarshal(imsg.Data(), handler) if err != nil { return err