File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -6266,7 +6266,7 @@ impl<Signer: WriteableEcdsaChannelSigner> InboundV1Channel<Signer> {
6266
6266
Ok ( chan)
6267
6267
}
6268
6268
6269
- pub fn inbound_is_awaiting_accept ( & self ) -> bool {
6269
+ pub fn is_awaiting_accept ( & self ) -> bool {
6270
6270
self . context . inbound_awaiting_accept
6271
6271
}
6272
6272
Original file line number Diff line number Diff line change @@ -4890,7 +4890,7 @@ where
4890
4890
let is_only_peer_channel = peer_state. total_channel_count ( ) == 1 ;
4891
4891
match peer_state. inbound_v1_channel_by_id . entry ( temporary_channel_id. clone ( ) ) {
4892
4892
hash_map:: Entry :: Occupied ( mut channel) => {
4893
- if !channel. get ( ) . inbound_is_awaiting_accept ( ) {
4893
+ if !channel. get ( ) . is_awaiting_accept ( ) {
4894
4894
return Err ( APIError :: APIMisuseError { err : "The channel isn't currently awaiting to be accepted." . to_owned ( ) } ) ;
4895
4895
}
4896
4896
if accept_0conf {
You can’t perform that action at this time.
0 commit comments