chore: remove debug lines
This commit is contained in:
parent
f6e005c497
commit
528e1a6c27
|
@ -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]
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue