aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/sign.rs
diff options
context:
space:
mode:
authorNicholas Rodrigues Lordello <[email protected]>2021-08-21 07:35:13 +0000
committerNicholas Rodrigues Lordello <[email protected]>2021-08-21 07:35:13 +0000
commitf608cce748d80d46f49ba25999e4334fd959b070 (patch)
tree9fc73440b321933cfd6e6ead10ee18d93bc99c89 /src/cmd/sign.rs
parentc05487949a5cb9808945b5bdd174e14fdd7e51ea (diff)
Refactor into lib+bin and start adding e2e tests
Diffstat (limited to 'src/cmd/sign.rs')
-rw-r--r--src/cmd/sign.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cmd/sign.rs b/src/cmd/sign.rs
index 85aec8b..290b1a3 100644
--- a/src/cmd/sign.rs
+++ b/src/cmd/sign.rs
@@ -1,11 +1,11 @@
//! Module implementing the `sign` subcommand for generating ECDSA signatures.
-use crate::{
- cmd::{self, AccountOptions},
+use crate::cmd::{self, AccountOptions};
+use anyhow::{ensure, Context as _, Result};
+use hdwallet::{
hash,
transaction::{LegacyTransaction, Transaction},
};
-use anyhow::{ensure, Context as _, Result};
use std::{convert::TryInto, path::PathBuf};
use structopt::StructOpt;