psbt: wording in coins spent

This commit is contained in:
Antoine Poinsot 2023-05-07 12:29:06 +02:00
parent 7dd62f4879
commit 43b207a4f5
No known key found for this signature in database
GPG Key ID: E13FC145CD3F4304

View File

@ -511,7 +511,7 @@ pub fn inputs_and_outputs_view<'a>(
.align_items(Alignment::Center)
.push(
h4_bold(format!(
"{} spent coin{}",
"{} coin{} spent",
coins.len(),
if coins.len() == 1 { "" } else { "s" }
))
@ -529,7 +529,7 @@ pub fn inputs_and_outputs_view<'a>(
.align_items(Alignment::Center)
.push(
h4_bold(format!(
"{} spent coin{}",
"{} coin{} spent",
coins.len(),
if coins.len() == 1 { "" } else { "s" }
))