Skip to content
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

Merged
merged 21 commits into from
Nov 26, 2024

Conversation

raphjaph
Copy link
Collaborator

@raphjaph raphjaph commented Oct 26, 2024

Depends on #4026

@raphjaph raphjaph changed the title Sign for inscriptions and output Sign for inscription and output Oct 26, 2024
)]
pub(crate) struct Sign {
#[arg(long, help = "Sign for <ADDRESS>.")]
address: Address<NetworkUnchecked>,
address: Option<Address<NetworkUnchecked>>,
Copy link
Collaborator

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.

src/subcommand/wallet/sign.rs Outdated Show resolved Hide resolved
src/subcommand/wallet/sign.rs Outdated Show resolved Hide resolved
Copy link
Collaborator

@casey casey left a 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(),
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
input: input.to_string(),
input: input.into(),

@raphjaph raphjaph enabled auto-merge (squash) November 26, 2024 21:04
@raphjaph raphjaph merged commit a009a4e into ordinals:master Nov 26, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants