diff --git a/lib/electrumx_rpc/rpc.dart b/lib/electrumx_rpc/rpc.dart index 21d64c5e3..3d2d499a6 100644 --- a/lib/electrumx_rpc/rpc.dart +++ b/lib/electrumx_rpc/rpc.dart @@ -39,7 +39,6 @@ class JsonRPC { Socket? _socket; SOCKSSocket? _socksSocket; StreamSubscription>? _subscription; - StreamSubscription>? get subscription => _subscription; void _dataHandler(List data) { _requestQueue.nextIncompleteReq.then((req) { @@ -87,7 +86,6 @@ class JsonRPC { } if (_socksSocket != null) { _socksSocket!.write('${req.jsonRequest}\r\n'); - // _socksSocket!.socket.writeln('${req.jsonRequest}\r\n'); } // TODO different timeout length?