From 1e11fdd6fe6be74e69a3834786ec81d92148a652 Mon Sep 17 00:00:00 2001 From: Josh Babb Date: Wed, 24 May 2023 13:12:54 -0500 Subject: [PATCH] make vars final --- lib/electrumx_rpc/rpc.dart | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/electrumx_rpc/rpc.dart b/lib/electrumx_rpc/rpc.dart index 3510e4113..3cb8255da 100644 --- a/lib/electrumx_rpc/rpc.dart +++ b/lib/electrumx_rpc/rpc.dart @@ -12,10 +12,10 @@ class JsonRPC { this.useSSL = false, this.connectionTimeout = const Duration(seconds: 60), }); - bool useSSL; - String host; - int port; - Duration connectionTimeout; + final bool useSSL; + final String host; + final int port; + final Duration connectionTimeout; Future request(String jsonRpcRequest) async { Socket? socket;