Browse Source

Update node from result data

master
Lyndsay Roger 9 years ago
parent
commit
26829e0eec
  1. 5
      seeder.go

5
seeder.go

@ -288,6 +288,11 @@ func (s *dnsseeder) processResult(r *result) { @@ -288,6 +288,11 @@ func (s *dnsseeder) processResult(r *result) {
nd.lastConnect = time.Now()
nd.lastTry = nd.lastConnect
nd.statusStr = "ok: received remote address list"
// update the node from the results
nd.version = r.version
nd.services = r.services
nd.lastBlock = r.lastBlock
nd.strVersion = r.strVersion
added := 0

Loading…
Cancel
Save