Skip to content

Commit

Permalink
Addressed suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
cr-fuel committed Oct 28, 2023
1 parent 1583fe5 commit d22eab0
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion forc-plugins/forc-crypto/src/args.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ pub struct HashArgs {
/// loaded.
///
/// 2. A binary string encoded as a hex string. If that is the case, the
/// hex is decoded a Vec<u8> is passed
/// hex is decoded and passed as a Vec<u8>
///
/// 3. A string. This is the last option, if the string is "-", `stdin`
/// is read instead. Otherwise the raw string is converted to a Vec<u8>
Expand Down
1 change: 0 additions & 1 deletion forc-plugins/forc-crypto/src/content.rs

This file was deleted.

2 changes: 1 addition & 1 deletion forc-plugins/forc-crypto/src/keygen/new_key.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ use std::ops::Deref;
#[derive(Debug, clap::Args)]
#[clap(author, version, about = "Creates a new key for use with fuel-core")]
pub struct Arg {
/// Key type to generate. It can either be `block-production` or `p2p`.
/// Key type to generate. It can either be `block-production` or `peering`.
#[clap(
long = "key-type",
short = 'k',
Expand Down
2 changes: 1 addition & 1 deletion forc-plugins/forc-crypto/src/keygen/parse_secret.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ use std::{ops::Deref, str::FromStr};
pub struct Arg {
/// A private key in hex format
secret: String,
/// Key type to generate. It can either be `block-production` or `p2p`.
/// Key type to generate. It can either be `block-production` or `peering`.
#[clap(
long = "key-type",
short = 'k',
Expand Down
1 change: 0 additions & 1 deletion forc-plugins/forc-crypto/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ use termion::screen::IntoAlternateScreen;

mod address;
mod args;
mod content;
mod keccak256;
mod keygen;
mod sha256;
Expand Down

0 comments on commit d22eab0

Please sign in to comment.