File tree 1 file changed +8
-1
lines changed 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -7275,6 +7275,12 @@ impl<SP: Deref> Channel<SP> where
7275
7275
pub(super) struct OutboundV1Channel<SP: Deref> where SP::Target: SignerProvider {
7276
7276
pub context: ChannelContext<SP>,
7277
7277
pub unfunded_context: UnfundedChannelContext,
7278
+ /// We tried to send a `open_channel` message but our commitment point wasn't ready.
7279
+ /// This flag tells us we need to send it when we are retried once the
7280
+ /// commiment point is ready.
7281
+ ///
7282
+ /// TODO: don't need to persist this since we'll send open_channel again on connect?
7283
+ pub signer_pending_open_channel: bool,
7278
7284
}
7279
7285
7280
7286
impl<SP: Deref> OutboundV1Channel<SP> where SP::Target: SignerProvider {
@@ -7319,7 +7325,8 @@ impl<SP: Deref> OutboundV1Channel<SP> where SP::Target: SignerProvider {
7319
7325
pubkeys,
7320
7326
logger,
7321
7327
)?,
7322
- unfunded_context: UnfundedChannelContext { unfunded_channel_age_ticks: 0 }
7328
+ unfunded_context: UnfundedChannelContext { unfunded_channel_age_ticks: 0 },
7329
+ signer_pending_open_channel: false,
7323
7330
};
7324
7331
Ok(chan)
7325
7332
}
You can’t perform that action at this time.
0 commit comments