diff options
| -rw-r--r-- | Cargo.lock | 2 | ||||
| -rw-r--r-- | Cargo.toml | 2 | ||||
| -rw-r--r-- | src/cmd/hash.rs | 2 | ||||
| -rw-r--r-- | src/cmd/sign.rs | 2 |
4 files changed, 4 insertions, 4 deletions
@@ -291,7 +291,7 @@ checksum = "ab5ef0d4909ef3724cc8cce6ccc8572c5c817592e9285f5464f8e86f8bd3726e" [[package]] name = "hdwallet" -version = "0.2.1" +version = "0.2.2" dependencies = [ "anyhow", "clap", @@ -1,6 +1,6 @@ [package] name = "hdwallet" -version = "0.2.1" +version = "0.2.2" authors = ["Nicholas Rodrigues Lordello <[email protected]>"] edition = "2021" description = "Hierarchical deterministic wallet for Ethereum" diff --git a/src/cmd/hash.rs b/src/cmd/hash.rs index 74c4e07..4a93d3a 100644 --- a/src/cmd/hash.rs +++ b/src/cmd/hash.rs @@ -16,7 +16,6 @@ pub struct Options { } #[derive(Debug, Parser)] -#[clap(rename_all = "lowercase")] enum Input { /// Hash an Ethereum transaction. Transaction { @@ -39,6 +38,7 @@ enum Input { }, /// Hash EIP-712 typed data. + #[clap(name = "typeddata")] TypedData { /// Path to the EIP-712 typed data in JSON format. #[clap(name = "TYPEDDATA")] diff --git a/src/cmd/sign.rs b/src/cmd/sign.rs index 81420c4..10b21e7 100644 --- a/src/cmd/sign.rs +++ b/src/cmd/sign.rs @@ -20,7 +20,6 @@ pub struct Options { } #[derive(Debug, Parser)] -#[clap(rename_all = "lowercase")] enum Input { /// Sign an Ethereum transaction. Transaction { @@ -49,6 +48,7 @@ enum Input { }, /// Sign EIP-712 typed data. + #[clap(name = "typeddata")] TypedData { /// Path to the EIP-712 typed data in JSON format. #[clap(name = "TYPEDDATA")] |
