mirror of
https://github.com/sigp/lighthouse.git
synced 2026-05-08 01:05:47 +00:00
add/update types
This commit is contained in:
@@ -374,6 +374,7 @@ macro_rules! impl_decodable_for_u8_array {
|
||||
|
||||
impl_decodable_for_u8_array!(4);
|
||||
impl_decodable_for_u8_array!(32);
|
||||
impl_decodable_for_u8_array!(48);
|
||||
|
||||
macro_rules! impl_for_vec {
|
||||
($type: ty, $max_len: expr) => {
|
||||
|
||||
@@ -483,6 +483,7 @@ macro_rules! impl_encodable_for_u8_array {
|
||||
|
||||
impl_encodable_for_u8_array!(4);
|
||||
impl_encodable_for_u8_array!(32);
|
||||
impl_encodable_for_u8_array!(48);
|
||||
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
|
||||
Reference in New Issue
Block a user