Armani Ferrante пре 3 година
родитељ
комит
99df40d2af
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      lang/common/src/header.rs

+ 1 - 1
lang/common/src/header.rs

@@ -6,8 +6,8 @@ use std::io::{Cursor, Write};
 pub const DISCRIMINATOR_LEN: usize = 8;
 #[cfg(not(feature = "deprecated-layout"))]
 pub const DISCRIMINATOR_LEN: usize = 4;
+pub const HEADER_LEN: usize = 8;
 
-const HEADER_LEN: usize = 8;
 const LAYOUT_VERSION: u8 = 1;
 const DEFAULT_ACCOUNT_VERSION: u8 = 1;