mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-02 18:13:44 +00:00
added missing '/' to strings
This commit is contained in:
parent
07c5d2fb83
commit
b4bbdced85
1 changed files with 5 additions and 5 deletions
|
|
@ -796,7 +796,7 @@ func (p *PortalProtocol) processPong(target *enode.Node, resp []byte) (*portalwi
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
p.Log.Trace("<< PONG_RESPONSE"+p.protocolName, "id", target.ID(), "pong", pong)
|
p.Log.Trace("<< PONG_RESPONSE/"+p.protocolName, "id", target.ID(), "pong", pong)
|
||||||
|
|
||||||
customPayload := &portalwire.PingPongCustomData{}
|
customPayload := &portalwire.PingPongCustomData{}
|
||||||
err = customPayload.UnmarshalSSZ(pong.CustomPayload)
|
err = customPayload.UnmarshalSSZ(pong.CustomPayload)
|
||||||
|
|
@ -804,7 +804,7 @@ func (p *PortalProtocol) processPong(target *enode.Node, resp []byte) (*portalwi
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
p.Log.Trace("<< PONG_RESPONSE"+p.protocolName, "id", target.ID(), "pong", pong, "customPayload", customPayload)
|
p.Log.Trace("<< PONG_RESPONSE/"+p.protocolName, "id", target.ID(), "pong", pong, "customPayload", customPayload)
|
||||||
p.table.addFoundNode(target, true)
|
p.table.addFoundNode(target, true)
|
||||||
|
|
||||||
p.radiusCache.Set([]byte(target.ID().String()), customPayload.Radius)
|
p.radiusCache.Set([]byte(target.ID().String()), customPayload.Radius)
|
||||||
|
|
@ -1106,7 +1106,7 @@ func (p *PortalProtocol) handleFindContent(id enode.ID, addr *net.UDPAddr, reque
|
||||||
Id: idBuffer,
|
Id: idBuffer,
|
||||||
}
|
}
|
||||||
|
|
||||||
p.Log.Trace(">> CONTENT_CONNECTION_ID"+p.protocolName, "protocol", p.protocolName, "source", addr, "connId", connIdMsg)
|
p.Log.Trace(">> CONTENT_CONNECTION_ID/"+p.protocolName, "protocol", p.protocolName, "source", addr, "connId", connIdMsg)
|
||||||
var connIdMsgBytes []byte
|
var connIdMsgBytes []byte
|
||||||
connIdMsgBytes, err = connIdMsg.MarshalSSZ()
|
connIdMsgBytes, err = connIdMsg.MarshalSSZ()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
@ -1134,7 +1134,7 @@ func (p *PortalProtocol) handleOffer(id enode.ID, addr *net.UDPAddr, request *po
|
||||||
ContentKeys: contentKeyBitlist,
|
ContentKeys: contentKeyBitlist,
|
||||||
}
|
}
|
||||||
|
|
||||||
p.Log.Trace(">> ACCEPT"+p.protocolName, "protocol", p.protocolName, "source", addr, "accept", acceptMsg)
|
p.Log.Trace(">> ACCEPT/"+p.protocolName, "protocol", p.protocolName, "source", addr, "accept", acceptMsg)
|
||||||
var acceptMsgBytes []byte
|
var acceptMsgBytes []byte
|
||||||
acceptMsgBytes, err = acceptMsg.MarshalSSZ()
|
acceptMsgBytes, err = acceptMsg.MarshalSSZ()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
@ -1232,7 +1232,7 @@ func (p *PortalProtocol) handleOffer(id enode.ID, addr *net.UDPAddr, request *po
|
||||||
ContentKeys: []byte(contentKeyBitlist),
|
ContentKeys: []byte(contentKeyBitlist),
|
||||||
}
|
}
|
||||||
|
|
||||||
p.Log.Trace(">> ACCEPT"+p.protocolName, "protocol", p.protocolName, "source", addr, "accept", acceptMsg)
|
p.Log.Trace(">> ACCEPT/"+p.protocolName, "protocol", p.protocolName, "source", addr, "accept", acceptMsg)
|
||||||
var acceptMsgBytes []byte
|
var acceptMsgBytes []byte
|
||||||
acceptMsgBytes, err = acceptMsg.MarshalSSZ()
|
acceptMsgBytes, err = acceptMsg.MarshalSSZ()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue