Skip to content

Commit

Permalink
chore: add docs to murmur errors
Browse files Browse the repository at this point in the history
  • Loading branch information
juangirini committed Oct 14, 2024
1 parent 14f571e commit 8dde149
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions core/src/murmur.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,9 @@ use w3f_bls::{DoublePublicKey, EngineBLS};
/// Error types for murmur wallet usage
#[derive(Debug, PartialEq)]
pub enum Error {
/// An error occurred when executing a call
ExecuteError,
/// An error occurred when creating a murmur wallet
MMRError,
InconsistentStore,
/// No leaf could be identified in the MMR at the specified position
Expand All @@ -60,6 +62,7 @@ pub enum Error {
InvalidSeed,
/// The public key was invalid (could not be decoded)
InvalidPubkey,
/// The key derivation failed
KeyDerivationFailed,
}

Expand Down

0 comments on commit 8dde149

Please sign in to comment.