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()
|
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]
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue