Update les/handler.go

This commit is contained in:
CocoaHuke 2018-06-21 21:29:17 -07:00
parent 60b99ce3d6
commit 83ea313fe8
No known key found for this signature in database
GPG key ID: E300819C1AE33223

View file

@ -1109,6 +1109,12 @@ func (pm *ProtocolManager) handleMsg(p *peer) error {
p.fcServer.GotReply(resp.ReqID, resp.BV) p.fcServer.GotReply(resp.ReqID, resp.BV)
deliverMsg = &Msg{
MsgType: MsgTxStatus,
ReqID: resp.ReqID,
Obj: resp.Status,
}
default: default:
p.Log().Trace("Received unknown message", "code", msg.Code) p.Log().Trace("Received unknown message", "code", msg.Code)
return errResp(ErrInvalidMsgCode, "%v", msg.Code) return errResp(ErrInvalidMsgCode, "%v", msg.Code)