From 375a079bc3c1d7eba8fb8a7cfaea20bb77c56db3 Mon Sep 17 00:00:00 2001 From: Jack Grigg Date: Fri, 17 Jan 2025 14:56:47 +0000 Subject: [PATCH] zcash_client_backend: Remove lightwalletd workaround The bug was fixed in zcash/lightwalletd@b805382ac34e91678ed0d06e9c5f84187ac630cc, and the workaround doesn't work with backed by zebrad. --- zcash_client_backend/src/sync.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/zcash_client_backend/src/sync.rs b/zcash_client_backend/src/sync.rs index 2ddce5fbec..3f72b6e231 100644 --- a/zcash_client_backend/src/sync.rs +++ b/zcash_client_backend/src/sync.rs @@ -252,8 +252,6 @@ where { 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) @@ -278,8 +276,7 @@ where { 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?