From 5f5515af5e1095253c011f2381da2f68e3d65be6 Mon Sep 17 00:00:00 2001 From: John Smith Date: Sun, 10 Dec 2023 13:26:21 -0500 Subject: [PATCH] oops --- .../rpc_processor/coders/operations/operation_watch_value.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/veilid-core/src/rpc_processor/coders/operations/operation_watch_value.rs b/veilid-core/src/rpc_processor/coders/operations/operation_watch_value.rs index de35c662..bc137b74 100644 --- a/veilid-core/src/rpc_processor/coders/operations/operation_watch_value.rs +++ b/veilid-core/src/rpc_processor/coders/operations/operation_watch_value.rs @@ -55,7 +55,7 @@ impl RPCOperationWatchValueQ { ) -> Vec { // Needed because RangeSetBlaze uses different types here all the time #[allow(clippy::unnecessary_cast)] - let subkeys_len = subkeys.len() as usize; + let subkeys_len = subkeys.ranges_len() as usize; let mut sig_data = Vec::with_capacity(PUBLIC_KEY_LENGTH + 4 + (subkeys_len * 8) + 8 + 4); sig_data.extend_from_slice(&key.kind.0);