Remove unnecessary packet meta abi lock (#15653) (#15665)

(cherry picked from commit b8e28b8c55)

Co-authored-by: Justin Starry <justin@solana.com>
This commit is contained in:
mergify[bot]
2021-03-03 10:52:51 +00:00
committed by GitHub
parent a00cbb55b9
commit 9d00220d88

View File

@ -12,8 +12,7 @@ use std::{
/// 8 bytes is the size of the fragment header
pub const PACKET_DATA_SIZE: usize = 1280 - 40 - 8;
#[frozen_abi(digest = "9AiPd36yycNg18hDuCBVGwpTfzjX1VV4QtUKUdqeyAKH")]
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize, AbiExample)]
#[derive(Clone, Default, Debug, PartialEq)]
#[repr(C)]
pub struct Meta {
pub size: usize,