From d5bacb7c32b5f13d8b487df5b75d0d0f5f7bdd89 Mon Sep 17 00:00:00 2001 From: Fluid <90795031+fluiderson@users.noreply.github.com> Date: Fri, 1 Mar 2024 09:14:47 +0200 Subject: [PATCH] Add a TODO comment --- src/rpc.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/rpc.rs b/src/rpc.rs index 1228766..a9fca04 100644 --- a/src/rpc.rs +++ b/src/rpc.rs @@ -181,6 +181,10 @@ pub async fn prepare( decimals_option: Option, shutdown_notification: Receiver, ) -> Result<(ApiConfig, EndpointProperties, Updater)> { + // TODO: + // The current reconnecting client implementation automatically restores all subscriptions, + // including unrecoverable ones, losing all notifications! For now, it shouldn't affect the + // daemon, but may in the future, so we should consider creating our own implementation. let rpc = RpcClient::new( ClientBuilder::new() .build(url.clone())