From 26829e0eec465a057c815716ce5dadc1cc494af5 Mon Sep 17 00:00:00 2001 From: Lyndsay Roger Date: Fri, 2 Oct 2015 14:06:26 +1300 Subject: [PATCH] Update node from result data --- seeder.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/seeder.go b/seeder.go index 4dcddd4..a578974 100644 --- a/seeder.go +++ b/seeder.go @@ -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