mirror of
https://github.com/serai-dex/serai.git
synced 2025-01-22 02:34:55 +00:00
Increase MAX_ADDRESS_LEN
In response to https://gist.github.com/tevador/50160d160d24cfc6c52ae02eb3d17024?permalink_comment_id=4665372#gistcomment-4665372
This commit is contained in:
parent
27cd2ee2bb
commit
108504d6e2
1 changed files with 2 additions and 2 deletions
|
@ -31,8 +31,8 @@ pub use account::*;
|
|||
|
||||
// Monero, our current longest address candidate, has a longest address of featured
|
||||
// 1 (enum) + 1 (flags) + 64 (two keys) = 66
|
||||
// When JAMTIS arrives, it'll become 114 bytes
|
||||
pub const MAX_ADDRESS_LEN: u32 = 128;
|
||||
// When JAMTIS arrives, it'll become 112 or potentially even 142 bytes
|
||||
pub const MAX_ADDRESS_LEN: u32 = 196;
|
||||
|
||||
#[derive(
|
||||
Clone, PartialEq, Eq, Debug, Serialize, Deserialize, Encode, Decode, MaxEncodedLen, TypeInfo,
|
||||
|
|
Loading…
Reference in a new issue