Skip to content

Commit

Permalink
fix(cs): Code style fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
serg-temchenko committed Jun 14, 2024
1 parent 4f339d1 commit 859b88f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
4 changes: 2 additions & 2 deletions cli/polka-storage-provider/src/commands/run.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ const FULL_NODE_DEFAULT_RPC_ADDR: &str = "ws://127.0.0.1:9944";
/// Command to start the storage provider.
#[derive(Debug, Clone, Parser)]
pub(crate) struct RunCommand {
/// RPC API endpoint used by the parachain node
/// RPC API endpoint used by the parachain node.
#[arg(short = 'n', long, default_value = FULL_NODE_DEFAULT_RPC_ADDR)]
pub node_rpc_address: Url,
/// Address used for RPC. By default binds on localhost on port 8000
/// Address used for RPC. By default binds on localhost on port 8000.
#[arg(short = 'a', long, default_value = SERVER_DEFAULT_BIND_ADDR)]
pub listen_addr: SocketAddr,
}
Expand Down
10 changes: 5 additions & 5 deletions cli/polka-storage-provider/src/commands/wallet.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,21 +8,21 @@ use sc_cli::{
#[derive(Debug, Parser)]
#[command(
name = "wallet",
about = "Utility for generating and restoring keys",
about = "Utility for generating and restoring keys.",
version
)]
pub enum WalletCommand {
/// Generate a random node key, write it to a file or stdout and write the
/// corresponding peer-id to stderr
/// corresponding peer-id to stderr.
GenerateNodeKey(GenerateKeyCmdCommon),

/// Generate a random account
/// Generate a random account.
Generate(GenerateCmd),

/// Gets a public key and a SS58 address from the provided Secret URI
/// Gets a public key and a SS58 address from the provided Secret URI.
Inspect(InspectKeyCmd),

/// Load a node key from a file or stdin and print the corresponding peer-id
/// Load a node key from a file or stdin and print the corresponding peer-id.
InspectNodeKey(InspectNodeKeyCmd),

/// Sign a message, with a given (secret) key.
Expand Down
1 change: 0 additions & 1 deletion cli/polka-storage-provider/src/rpc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ use jsonrpsee::{
};
use methods::create_module;
use serde::{Deserialize, Serialize};
use tracing::info;

use crate::substrate;

Expand Down

0 comments on commit 859b88f

Please sign in to comment.