p2p/discv5: remove weird assignment of pong expiration

Fixes #17468
This commit is contained in:
Felix Lange 2018-09-18 10:10:29 +02:00
parent 10bac36647
commit fdc2148481

View file

@ -112,7 +112,6 @@ func pongToTicket(localTime mclock.AbsTime, topics []Topic, node *Node, p *ingre
}
func ticketToPong(t *ticket, pong *pong) {
pong.Expiration = uint64(t.issueTime / mclock.AbsTime(time.Second))
pong.TopicHash = rlpHash(t.topics)
pong.TicketSerial = t.serial
pong.WaitPeriods = make([]uint32, len(t.regTime))