Skip to content

Commit 6773266

Browse files
authored
Merge pull request #3116 from TheBlueMatt/2024-06-3107-nit
Clarify `Display` text for `ClosureReason::HolderForceClosed` some
2 parents 5e3056e + 64336fa commit 6773266

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lightning/src/events/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ impl core::fmt::Display for ClosureReason {
372372
ClosureReason::HolderForceClosed { broadcasted_latest_txn } => {
373373
f.write_str("user force-closed the channel")?;
374374
if let Some(brodcasted) = broadcasted_latest_txn {
375-
write!(f, " and {} the latest transaction", if *brodcasted { "broadcasted" } else { "did not broadcast" })
375+
write!(f, " and {} the latest transaction", if *brodcasted { "broadcasted" } else { "elected not to broadcast" })
376376
} else {
377377
Ok(())
378378
}

0 commit comments

Comments
 (0)