Skip to content

Commit

Permalink
Add a TODO comment
Browse files Browse the repository at this point in the history
  • Loading branch information
fluiderson committed Mar 1, 2024
1 parent 7938d7b commit d5bacb7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/rpc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,10 @@ pub async fn prepare(
decimals_option: Option<Decimals>,
shutdown_notification: Receiver<bool>,
) -> 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())
Expand Down

0 comments on commit d5bacb7

Please sign in to comment.