mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 10:22:23 +00:00
parent
10bac36647
commit
fdc2148481
1 changed files with 0 additions and 1 deletions
|
|
@ -112,7 +112,6 @@ func pongToTicket(localTime mclock.AbsTime, topics []Topic, node *Node, p *ingre
|
||||||
}
|
}
|
||||||
|
|
||||||
func ticketToPong(t *ticket, pong *pong) {
|
func ticketToPong(t *ticket, pong *pong) {
|
||||||
pong.Expiration = uint64(t.issueTime / mclock.AbsTime(time.Second))
|
|
||||||
pong.TopicHash = rlpHash(t.topics)
|
pong.TopicHash = rlpHash(t.topics)
|
||||||
pong.TicketSerial = t.serial
|
pong.TicketSerial = t.serial
|
||||||
pong.WaitPeriods = make([]uint32, len(t.regTime))
|
pong.WaitPeriods = make([]uint32, len(t.regTime))
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue