Skip to content

Commit

Permalink
Fixed error message when using sat or satpoint with batch inscribe (o…
Browse files Browse the repository at this point in the history
  • Loading branch information
pokrovskyy authored Nov 21, 2024
1 parent 40ffa5a commit ffe27e2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/wallet/batch/file.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ impl File {
if sat_or_satpoint {
ensure!(
batchfile.mode == Mode::SameSat,
"neither `sat` nor `satpoint` can be set in `same-sat` mode",
"`sat` or `satpoint` can only be set in `same-sat` mode",
);
}

Expand Down
2 changes: 1 addition & 1 deletion tests/wallet/batch_command.rs
Original file line number Diff line number Diff line change
Expand Up @@ -983,7 +983,7 @@ fn batch_inscribe_with_sat_arg_fails_if_wrong_mode() {
.core(&core)
.ord(&ord)
.expected_exit_code(1)
.expected_stderr("error: neither `sat` nor `satpoint` can be set in `same-sat` mode\n")
.expected_stderr("error: `sat` or `satpoint` can only be set in `same-sat` mode\n")
.run_and_extract_stdout();
}

Expand Down

0 comments on commit ffe27e2

Please sign in to comment.