projects
/
rust-lightning
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use multiplier in dust exposure threshold calculation
[rust-lightning]
/
lightning
/
src
/
events
/
mod.rs
diff --git
a/lightning/src/events/mod.rs
b/lightning/src/events/mod.rs
index f4c4af7e90ff02bf5cf59c22994a7728ded4fcf5..b9fb955a5a2e5d0beb0df60b950466ac6d387d46 100644
(file)
--- a/
lightning/src/events/mod.rs
+++ b/
lightning/src/events/mod.rs
@@
-14,10
+14,8
@@
//! future, as well as generate and broadcast funding transactions handle payment preimages and a
//! few other things.
//! future, as well as generate and broadcast funding transactions handle payment preimages and a
//! few other things.
-#[cfg(anchors)]
pub mod bump_transaction;
pub mod bump_transaction;
-#[cfg(anchors)]
pub use bump_transaction::BumpTransactionEvent;
use crate::sign::SpendableOutputDescriptor;
pub use bump_transaction::BumpTransactionEvent;
use crate::sign::SpendableOutputDescriptor;
@@
-832,7
+830,6
@@
pub enum Event {
/// Destination of the HTLC that failed to be processed.
failed_next_destination: HTLCDestination,
},
/// Destination of the HTLC that failed to be processed.
failed_next_destination: HTLCDestination,
},
- #[cfg(anchors)]
/// Indicates that a transaction originating from LDK needs to have its fee bumped. This event
/// requires confirmed external funds to be readily available to spend.
///
/// Indicates that a transaction originating from LDK needs to have its fee bumped. This event
/// requires confirmed external funds to be readily available to spend.
///
@@
-1029,7
+1026,6
@@
impl Writeable for Event {
(2, failed_next_destination, required),
})
},
(2, failed_next_destination, required),
})
},
- #[cfg(anchors)]
&Event::BumpTransaction(ref event)=> {
27u8.write(writer)?;
match event {
&Event::BumpTransaction(ref event)=> {
27u8.write(writer)?;
match event {