projects
/
rust-lightning
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #1163 from TheBlueMatt/2021-11-support-insecure-counterparty
[rust-lightning]
/
lightning
/
src
/
ln
/
chan_utils.rs
diff --git
a/lightning/src/ln/chan_utils.rs
b/lightning/src/ln/chan_utils.rs
index ef106cc195ab80780d72d070219060e42d7136a1..cbafbed67bdf20a7e093f97b5531ace7c8452f26 100644
(file)
--- a/
lightning/src/ln/chan_utils.rs
+++ b/
lightning/src/ln/chan_utils.rs
@@
-940,6
+940,7
@@
impl BuiltCommitmentTransaction {
///
/// This class can be used inside a signer implementation to generate a signature given the relevant
/// secret key.
///
/// This class can be used inside a signer implementation to generate a signature given the relevant
/// secret key.
+#[derive(Clone, Hash, PartialEq)]
pub struct ClosingTransaction {
to_holder_value_sat: u64,
to_counterparty_value_sat: u64,
pub struct ClosingTransaction {
to_holder_value_sat: u64,
to_counterparty_value_sat: u64,