diff --git a/cyberwow/lib/controller/rpc/rpc.dart b/cyberwow/lib/controller/rpc/rpc.dart index 1c43a9a..f34bd11 100644 --- a/cyberwow/lib/controller/rpc/rpc.dart +++ b/cyberwow/lib/controller/rpc/rpc.dart @@ -84,7 +84,6 @@ Future syncInfoString() => rpcString('sync_info'); Future targetHeight() => rpc('sync_info', field: 'target_height'); Future height() => rpc('sync_info', field: 'height'); - Future getInfo() => rpc('get_info'); Future> getInfoSimple() async { @@ -108,21 +107,12 @@ Future offline() => rpc('get_info', field: 'offline'); Future outgoingConnectionsCount() => rpc('get_info', field: 'outgoing_connections_count'); Future incomingConnectionsCount() => rpc('get_info', field: 'incoming_connections_count'); -// Future> getConnections() async => rpcHTTP('get_connections', field: 'connections'); Future> getConnectionsSimple() async { final List _connections = await rpc('get_connections', field: 'connections'); return _connections.map ( (x) { - const _remove = - [ - // 'tx_blob', - // 'tx_json', - // 'last_failed_id_hash', - // 'max_used_block_id_hash', - ]; - return x.map ( (k, v) {