Skip to content

Commit

Permalink
Merge pull request #2328 from loziniak/main
Browse files Browse the repository at this point in the history
chore(autonomi): minor clarifications
  • Loading branch information
maqi authored Oct 29, 2024
2 parents 16cdf49 + cc15ee5 commit 17febdc
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion autonomi/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ crate-type = ["cdylib", "rlib"]

[features]
default = ["data", "vault"]
full = ["data", "registers", "vault"]
full = ["data", "registers", "vault", "fs"]
data = []
vault = ["data", "registers"]
fs = ["tokio/fs", "data"]
Expand Down
6 changes: 6 additions & 0 deletions autonomi/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,13 @@
//!
//! # Features
//!
//! - `fs`: Up/download files and directories from filesystem
//! - `registers`: Operate on register datatype
//! - `data`: Operate on raw bytes and chunks
//! - `vault`: Operate on Vault datatype
//! - `full`: All of above
//! - `local`: Discover local peers using mDNS. Useful for development.
//! - `loud`: Print debug information to stdout
// docs.rs generation will enable unstable `doc_cfg` feature
#![cfg_attr(docsrs, feature(doc_cfg))]
Expand Down
2 changes: 1 addition & 1 deletion evmlib/src/wallet.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ impl Wallet {
Self::new(network, random())
}

/// Creates a new Wallet based on the given private_key. It will fail with Error::PrivateKeyInvalid if private_key is invalid.
/// Creates a new Wallet based on the given Ethereum private key. It will fail with Error::PrivateKeyInvalid if private_key is invalid.
pub fn new_from_private_key(network: Network, private_key: &str) -> Result<Self, Error> {
let wallet = from_private_key(private_key)?;
Ok(Self::new(network, wallet))
Expand Down

0 comments on commit 17febdc

Please sign in to comment.