mirror of
https://gitlab.com/veilid/veilid.git
synced 2025-07-13 02:09:27 -04:00
oops
This commit is contained in:
parent
827a3443b0
commit
5f5515af5e
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ impl RPCOperationWatchValueQ {
|
||||||
) -> Vec<u8> {
|
) -> Vec<u8> {
|
||||||
// Needed because RangeSetBlaze uses different types here all the time
|
// Needed because RangeSetBlaze uses different types here all the time
|
||||||
#[allow(clippy::unnecessary_cast)]
|
#[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);
|
let mut sig_data = Vec::with_capacity(PUBLIC_KEY_LENGTH + 4 + (subkeys_len * 8) + 8 + 4);
|
||||||
sig_data.extend_from_slice(&key.kind.0);
|
sig_data.extend_from_slice(&key.kind.0);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue