From 8af280233fc4abdb6be2c1dfb94a85638749ec7f Mon Sep 17 00:00:00 2001 From: chrisgitiota Date: Thu, 24 Apr 2025 10:34:17 +0200 Subject: [PATCH] Move IOTA_PRIV_KEY_PREFIX to the original relative position to facilitate future upstream code merges --- identity_iota_interaction/src/sdk_types/iota_types/crypto.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/identity_iota_interaction/src/sdk_types/iota_types/crypto.rs b/identity_iota_interaction/src/sdk_types/iota_types/crypto.rs index 0ad555fe6e..4f2181b025 100644 --- a/identity_iota_interaction/src/sdk_types/iota_types/crypto.rs +++ b/identity_iota_interaction/src/sdk_types/iota_types/crypto.rs @@ -31,8 +31,6 @@ use super::{ base_types::IotaAddress, error::{IotaError, IotaResult}, iota_serde::Readable }; -const IOTA_PRIV_KEY_PREFIX: &str = "iotaprivkey"; - // Authority Objects pub type AuthorityKeyPair = BLS12381KeyPair; pub type AuthorityPublicKey = BLS12381PublicKey; @@ -52,6 +50,9 @@ pub type NetworkPrivateKey = Ed25519PrivateKey; pub type DefaultHash = Blake2b256; +pub const DEFAULT_EPOCH_ID: EpochId = 0; +const IOTA_PRIV_KEY_PREFIX: &str = "iotaprivkey"; + // Account Keys // // * The following section defines the keypairs that are used by