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;