Skip to content

Commit

Permalink
f Account for new ClosureReason variants
Browse files Browse the repository at this point in the history
  • Loading branch information
tnull committed Feb 28, 2024
1 parent 295dd4b commit 36a3d0d
Showing 1 changed file with 12 additions and 10 deletions.
22 changes: 12 additions & 10 deletions bindings/ldk_node.udl
Original file line number Diff line number Diff line change
Expand Up @@ -173,16 +173,18 @@ enum PaymentFailureReason {

[Enum]
interface ClosureReason {
CounterpartyForceClosed ( UntrustedString peer_msg );
HolderForceClosed ();
CooperativeClosure ();
CommitmentTxConfirmed ();
FundingTimedOut ();
ProcessingError ( string err );
DisconnectedPeer ();
OutdatedChannelManager ();
CounterpartyCoopClosedUnfundedChannel ();
FundingBatchClosure ();
CounterpartyForceClosed(UntrustedString peer_msg);
HolderForceClosed();
LegacyCooperativeClosure();
CounterpartyInitiatedCooperativeClosure();
LocallyInitiatedCooperativeClosure();
CommitmentTxConfirmed();
FundingTimedOut();
ProcessingError(string err);
DisconnectedPeer();
OutdatedChannelManager();
CounterpartyCoopClosedUnfundedChannel();
FundingBatchClosure();
};

enum PaymentDirection {
Expand Down

0 comments on commit 36a3d0d

Please sign in to comment.