Clarify `Display` text for `ClosureReason::HolderForceClosed` some
[rust-lightning] / lightning / src / events / mod.rs
index 527aabb0776e99f14a97cf09d53b623c27b224ad..2805171cdbbdfb5a30b55555d3bc2194e5e23f45 100644 (file)
@@ -372,7 +372,7 @@ impl core::fmt::Display for ClosureReason {
                        ClosureReason::HolderForceClosed { broadcasted_latest_txn } => {
                                f.write_str("user force-closed the channel")?;
                                if let Some(brodcasted) = broadcasted_latest_txn {
-                                       write!(f, " and {} the latest transaction", if *brodcasted { "broadcasted" } else { "did not broadcast" })
+                                       write!(f, " and {} the latest transaction", if *brodcasted { "broadcasted" } else { "elected not to broadcast" })
                                } else {
                                        Ok(())
                                }