From e4aff8bbb20e893560775c4bb706b433371e6bbc Mon Sep 17 00:00:00 2001 From: Ordinarius <137325073+ordinariusprof@users.noreply.github.com> Date: Sun, 7 Apr 2024 09:34:48 -0700 Subject: [PATCH] Remove `etch` from error message (#3449) --- src/subcommand/wallet/mint.rs | 2 +- tests/wallet/mint.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/subcommand/wallet/mint.rs b/src/subcommand/wallet/mint.rs index 069c108bf2..5d1d9fb55a 100644 --- a/src/subcommand/wallet/mint.rs +++ b/src/subcommand/wallet/mint.rs @@ -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; diff --git a/tests/wallet/mint.rs b/tests/wallet/mint.rs index 74b1f01297..f380eae224 100644 --- a/tests/wallet/mint.rs +++ b/tests/wallet/mint.rs @@ -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(); }