We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b66b342 commit 16dbe11Copy full SHA for 16dbe11
crates/txs/bridge-v1/src/deposit_request/aux.rs
@@ -129,9 +129,7 @@ impl<'a> Arbitrary<'a> for DrtHeaderAux {
129
let mut recovery_pk = [0u8; 32];
130
u.fill_buffer(&mut recovery_pk)?;
131
132
- // FIXME: -1 can be removed after we have a new release of strata-common that includes https://github.com/alpenlabs/strata-common/pull/79
133
- let destination_len = u.int_in_range(0..=MAX_DESTINATION_LEN - 1)?;
134
-
+ let destination_len = u.int_in_range(0..=MAX_DESTINATION_LEN)?;
135
let mut destination_bytes = vec![0u8; destination_len];
136
u.fill_buffer(&mut destination_bytes)?;
137
0 commit comments