-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sign for inscription and output #4027
Sign for inscription and output #4027
Conversation
…ptions-and-output
…ptions-and-output
src/subcommand/wallet/sign.rs
Outdated
)] | ||
pub(crate) struct Sign { | ||
#[arg(long, help = "Sign for <ADDRESS>.")] | ||
address: Address<NetworkUnchecked>, | ||
address: Option<Address<NetworkUnchecked>>, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's combine these into a Signer
enum. We could either have this as an argument, or maybe a --sign-with
flag.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
)) | ||
} else { | ||
Err(SnafuError::SignerParse { | ||
input: input.to_string(), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
input: input.to_string(), | |
input: input.into(), |
Depends on #4026