Skip to content

Commit 1f5a07c

Browse files
committed
f Account for new ClosureReason variants
1 parent 71510cd commit 1f5a07c

File tree

1 file changed

+12
-10
lines changed

1 file changed

+12
-10
lines changed

bindings/ldk_node.udl

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -190,16 +190,18 @@ enum PaymentFailureReason {
190190

191191
[Enum]
192192
interface ClosureReason {
193-
CounterpartyForceClosed ( UntrustedString peer_msg );
194-
HolderForceClosed ();
195-
CooperativeClosure ();
196-
CommitmentTxConfirmed ();
197-
FundingTimedOut ();
198-
ProcessingError ( string err );
199-
DisconnectedPeer ();
200-
OutdatedChannelManager ();
201-
CounterpartyCoopClosedUnfundedChannel ();
202-
FundingBatchClosure ();
193+
CounterpartyForceClosed(UntrustedString peer_msg);
194+
HolderForceClosed();
195+
LegacyCooperativeClosure();
196+
CounterpartyInitiatedCooperativeClosure();
197+
LocallyInitiatedCooperativeClosure();
198+
CommitmentTxConfirmed();
199+
FundingTimedOut();
200+
ProcessingError(string err);
201+
DisconnectedPeer();
202+
OutdatedChannelManager();
203+
CounterpartyCoopClosedUnfundedChannel();
204+
FundingBatchClosure();
203205
};
204206

205207
enum PaymentDirection {

0 commit comments

Comments
 (0)