From 75cf509eba773527d23a704d84917f3b31119d80 Mon Sep 17 00:00:00 2001 From: Jack Grigg Date: Fri, 26 Apr 2024 15:36:57 +0000 Subject: [PATCH] Remove hack for buggy lightwalletd impls All deployed lightwalletd servers have the bug fixed. --- src/commands/sync.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/commands/sync.rs b/src/commands/sync.rs index 87e505b..5b161f1 100644 --- a/src/commands/sync.rs +++ b/src/commands/sync.rs @@ -285,8 +285,6 @@ async fn update_subtree_roots( ) -> Result<(), anyhow::Error> { let mut request = service::GetSubtreeRootsArg::default(); request.set_shielded_protocol(service::ShieldedProtocol::Sapling); - // Hack to work around a bug in the initial lightwalletd implementation. - request.max_entries = 65536; let sapling_roots: Vec> = client .get_subtree_roots(request) .await? @@ -306,8 +304,6 @@ async fn update_subtree_roots( let mut request = service::GetSubtreeRootsArg::default(); request.set_shielded_protocol(service::ShieldedProtocol::Orchard); - // Hack to work around a bug in the initial lightwalletd implementation. - request.max_entries = 65536; let orchard_roots: Vec> = client .get_subtree_roots(request) .await?