Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions identity_iota_interaction/src/sdk_types/iota_types/crypto.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -52,6 +50,9 @@ pub type NetworkPrivateKey = Ed25519PrivateKey;

pub type DefaultHash = Blake2b256;

pub const DEFAULT_EPOCH_ID: EpochId = 0;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are we missing a super::base_types::EpochId import? ^^

const IOTA_PRIV_KEY_PREFIX: &str = "iotaprivkey";

// Account Keys
//
// * The following section defines the keypairs that are used by
Expand Down
Loading