Move address to end in nodeDetails (#149)

This makes the backend backwards compatible with
frontends which still have an old version of nodeDetails.
This commit is contained in:
Michael Müller
2019-05-22 21:06:49 +02:00
committed by Maciej Hirsz
parent 35a853a64b
commit 26000f3e8a
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -198,7 +198,7 @@ export default class Node {
const authority = this.authority ? this.address : null;
const addr = this.address ? this.address : '' as Types.Address;
return [this.name, addr, this.implementation, this.version, authority, this.networkId];
return [this.name, this.implementation, this.version, authority, this.networkId, addr];
}
public nodeStats(): Types.NodeStats {