Skip to content

Commit

Permalink
Remove etch from error message (#3449)
Browse files Browse the repository at this point in the history
  • Loading branch information
ordinariusprof authored Apr 7, 2024
1 parent cb4de8d commit e4aff8b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/subcommand/wallet/mint.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ impl Mint {
pub(crate) fn run(self, wallet: Wallet) -> SubcommandResult {
ensure!(
wallet.has_rune_index(),
"`ord wallet etch` requires index created with `--index-runes` flag",
"`ord wallet mint` requires index created with `--index-runes` flag",
);

let rune = self.rune.rune;
Expand Down
2 changes: 1 addition & 1 deletion tests/wallet/mint.rs
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ fn minting_rune_with_no_rune_index_fails() {
.core(&core)
.ord(&ord)
.expected_exit_code(1)
.expected_stderr("error: `ord wallet etch` requires index created with `--index-runes` flag\n")
.expected_stderr("error: `ord wallet mint` requires index created with `--index-runes` flag\n")
.run_and_extract_stdout();
}

Expand Down

0 comments on commit e4aff8b

Please sign in to comment.