Skip to content

Commit 163e26f

Browse files
committed
f Account for new ClosureReason variants
1 parent 6e6a5c6 commit 163e26f

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
@@ -173,16 +173,18 @@ enum PaymentFailureReason {
173173

174174
[Enum]
175175
interface ClosureReason {
176-
CounterpartyForceClosed ( UntrustedString peer_msg );
177-
HolderForceClosed ();
178-
CooperativeClosure ();
179-
CommitmentTxConfirmed ();
180-
FundingTimedOut ();
181-
ProcessingError ( string err );
182-
DisconnectedPeer ();
183-
OutdatedChannelManager ();
184-
CounterpartyCoopClosedUnfundedChannel ();
185-
FundingBatchClosure ();
176+
CounterpartyForceClosed(UntrustedString peer_msg);
177+
HolderForceClosed();
178+
LegacyCooperativeClosure();
179+
CounterpartyInitiatedCooperativeClosure();
180+
LocallyInitiatedCooperativeClosure();
181+
CommitmentTxConfirmed();
182+
FundingTimedOut();
183+
ProcessingError(string err);
184+
DisconnectedPeer();
185+
OutdatedChannelManager();
186+
CounterpartyCoopClosedUnfundedChannel();
187+
FundingBatchClosure();
186188
};
187189

188190
enum PaymentDirection {

0 commit comments

Comments
 (0)