Skip to content

Commit b15949b

Browse files
committed
f update to quiescent_action being in FundedChannel
1 parent 8c4e396 commit b15949b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lightning/src/ln/channel.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8223,7 +8223,7 @@ where
82238223

82248224
// Reset any quiescence-related state as it is implicitly terminated once disconnected.
82258225
if matches!(self.context.channel_state, ChannelState::ChannelReady(_)) {
8226-
if self.context.quiescent_action.is_some() {
8226+
if self.quiescent_action.is_some() {
82278227
// If we were trying to get quiescent, try again after reconnection.
82288228
self.context.channel_state.set_awaiting_quiescence();
82298229
}
@@ -12880,7 +12880,7 @@ where
1288012880
match channel_state {
1288112881
ChannelState::AwaitingChannelReady(_) => {},
1288212882
ChannelState::ChannelReady(_) => {
12883-
if self.context.quiescent_action.is_some() {
12883+
if self.quiescent_action.is_some() {
1288412884
// If we're trying to get quiescent to do something, try again when we
1288512885
// reconnect to the peer.
1288612886
channel_state.set_awaiting_quiescence();
@@ -13291,7 +13291,7 @@ where
1329113291
(59, self.funding.minimum_depth_override, option), // Added in 0.2
1329213292
(60, self.context.historical_scids, optional_vec), // Added in 0.2
1329313293
(61, fulfill_attribution_data, optional_vec), // Added in 0.2
13294-
(63, self.context.quiescent_action, option), // Added in 0.2
13294+
(63, self.quiescent_action, option), // Added in 0.2
1329513295
});
1329613296

1329713297
Ok(())

0 commit comments

Comments
 (0)