Skip to content

Commit 53ee339

Browse files
committed
f set Option<bool> in UpdateAddHTLC
1 parent f713847 commit 53ee339

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lightning/src/ln/channel.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ use crate::ln::interactivetxs::{
6262
InteractiveTxSigningSession, NegotiationError, SharedOwnedInput, SharedOwnedOutput,
6363
TX_COMMON_FIELDS_WEIGHT,
6464
};
65-
use crate::ln::msgs::{self, accountable_from_bool};
65+
use crate::ln::msgs;
6666
use crate::ln::msgs::{ClosingSigned, ClosingSignedFeeRange, DecodeError, OnionErrorPacket};
6767
use crate::ln::onion_utils::{
6868
AttributionData, HTLCFailReason, LocalHTLCFailureReason, HOLD_TIME_UNIT_MILLIS,
@@ -9722,7 +9722,7 @@ where
97229722
skimmed_fee_msat: htlc.skimmed_fee_msat,
97239723
blinding_point: htlc.blinding_point,
97249724
hold_htlc: htlc.hold_htlc,
9725-
accountable: accountable_from_bool(htlc.accountable),
9725+
accountable: Some(htlc.accountable),
97269726
});
97279727
}
97289728
}

0 commit comments

Comments
 (0)