mirror of
https://github.com/0glabs/0g-storage-node.git
synced 2025-04-01 14:06:10 +00:00
fix typos mod.rs
This commit is contained in:
parent
581646682f
commit
d0b40d50b5
@ -42,9 +42,9 @@ pub trait EnrKey: Send + Sync + Unpin + 'static {
|
||||
/// Returns the public key associated with current key pair.
|
||||
fn public(&self) -> Self::PublicKey;
|
||||
|
||||
/// Provides a method to decode a raw public key from an ENR `BTreeMap` to a useable public key.
|
||||
/// Provides a method to decode a raw public key from an ENR `BTreeMap` to a usable public key.
|
||||
///
|
||||
/// This method allows a key type to decode the raw bytes in an ENR to a useable
|
||||
/// This method allows a key type to decode the raw bytes in an ENR to a usable
|
||||
/// `EnrPublicKey`. It takes the ENR's `BTreeMap` and returns a public key.
|
||||
///
|
||||
/// Note: This specifies the supported key schemes for an ENR.
|
||||
|
Loading…
Reference in New Issue
Block a user