mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-11-17 09:47:37 +00:00
json rpc clean up
This commit is contained in:
parent
d4cdbd3455
commit
2cf5e01d58
1 changed files with 0 additions and 2 deletions
|
@ -39,7 +39,6 @@ class JsonRPC {
|
|||
Socket? _socket;
|
||||
SOCKSSocket? _socksSocket;
|
||||
StreamSubscription<List<int>>? _subscription;
|
||||
StreamSubscription<List<int>>? get subscription => _subscription;
|
||||
|
||||
void _dataHandler(List<int> 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?
|
||||
|
|
Loading…
Reference in a new issue