mirror of
https://github.com/wownero/cyberwow.git
synced 2026-12-03 13:43:59 +01:00
hide pruning_seed when there is none
This commit is contained in:
@@ -101,6 +101,12 @@ Map<String, dynamic> rpcPeerView(Map<String, dynamic> x) {
|
||||
for (var k in keys) k: _conn[k]
|
||||
};
|
||||
|
||||
return _sortedConn;
|
||||
|
||||
final _cleanupConn = x..removeWhere
|
||||
(
|
||||
(k,v) => k == 'pruning_seed' && x[k] == 0
|
||||
);
|
||||
|
||||
return _cleanupConn;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user