update public account id domain separator

This commit is contained in:
jonesmarvin8
2026-01-23 20:45:47 -05:00
parent 877f879af3
commit 0939b7e1c6
6 changed files with 14 additions and 15 deletions
+2 -1
View File
@@ -48,7 +48,8 @@ impl PublicKey {
impl From<&PublicKey> for AccountId {
fn from(key: &PublicKey) -> Self {
const PUBLIC_ACCOUNT_ID_PREFIX: &[u8; 32] = b"/NSSA/v0.2/AccountId/Public/\x00\x00\x00\x00";
const PUBLIC_ACCOUNT_ID_PREFIX: &[u8; 32] =
b"/LEE/v0.3/AccountId/Public/\x00\x00\x00\x00\x00";
let mut hasher = Sha256::new();
hasher.update(PUBLIC_ACCOUNT_ID_PREFIX);