Armani Ferrante %!s(int64=3) %!d(string=hai) anos
pai
achega
99df40d2af
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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;