mirror of
https://github.com/pezkuwichain/pezkuwi-telemetry.git
synced 2026-06-12 19:11:01 +00:00
Sort chains by node count
This commit is contained in:
@@ -18,8 +18,8 @@ export default class Chain {
|
||||
this.label = label;
|
||||
}
|
||||
|
||||
public get nodeCount(): number {
|
||||
return this.nodes.size;
|
||||
public get nodeCount(): Types.NodeCount {
|
||||
return this.nodes.size as Types.NodeCount;
|
||||
}
|
||||
|
||||
public addNode(node: Node) {
|
||||
|
||||
Reference in New Issue
Block a user