projects
/
rust-lightning
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a74367
)
Implement Clone, Hash, PartialEq for ClosingTransaction
author
Matt Corallo
<git@bluematt.me>
Tue, 19 Oct 2021 06:19:28 +0000
(06:19 +0000)
committer
Matt Corallo
<git@bluematt.me>
Mon, 29 Nov 2021 01:30:44 +0000
(
01:30
+0000)
This is a public struct intended to be used as an object by users,
so it should likely have common implementations, given they're
trivial.
lightning/src/ln/chan_utils.rs
patch
|
blob
|
history
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.
+#[derive(Clone, Hash, PartialEq)]
pub struct ClosingTransaction {
to_holder_value_sat: u64,
to_counterparty_value_sat: u64,