revid: changed request time to recv

This commit is contained in:
saxon 2018-12-13 12:34:21 +10:30
parent 9a7d7a9ab3
commit ce036abf8b
1 changed files with 1 additions and 1 deletions

View File

@ -146,7 +146,7 @@ func (s *httpSender) send() error {
var err error
var reply string
if send {
reply, _, err = s.client.Send(netsender.RequestPoll, pins)
reply, _, err = s.client.Send(netsender.RequestRecv, pins)
}
// Extract time from reply
t, err := netsender.ExtractJsonInt(reply, "ts")