Use startup_time from system.connected (#300)

* Handle startup time

* Remove dead code

* Bump protocol version + FE changes
This commit is contained in:
Maciej Hirsz
2020-11-30 12:05:49 +01:00
committed by GitHub
parent ebb01c1a7d
commit 262dbd6f14
11 changed files with 27 additions and 27 deletions
+2 -2
View File
@@ -204,7 +204,7 @@ export class Connection {
nodeHardware,
blockDetails,
location,
connectedAt,
startupTime,
] = message.payload;
const pinned = this.pins.has(nodeDetails[0]);
const node = new Node(
@@ -216,7 +216,7 @@ export class Connection {
nodeHardware,
blockDetails,
location,
connectedAt
startupTime
);
nodes.add(node);