Skip to content

Commit 14ceaa8

Browse files
committed
update bindings
1 parent 7ff9c52 commit 14ceaa8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bindings/ldk_node.udl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,9 +119,9 @@ interface Node {
119119
[Throws=NodeError]
120120
void disconnect(PublicKey node_id);
121121
[Throws=NodeError]
122-
UserChannelId open_channel(PublicKey node_id, SocketAddress address, u64 channel_amount_sats, u64? push_to_counterparty_msat, ChannelConfig? channel_config);
122+
UserChannelId open_channel(PublicKey node_id, SocketAddress? address, u64 channel_amount_sats, u64? push_to_counterparty_msat, ChannelConfig? channel_config);
123123
[Throws=NodeError]
124-
UserChannelId open_announced_channel(PublicKey node_id, SocketAddress address, u64 channel_amount_sats, u64? push_to_counterparty_msat, ChannelConfig? channel_config);
124+
UserChannelId open_announced_channel(PublicKey node_id, SocketAddress? address, u64 channel_amount_sats, u64? push_to_counterparty_msat, ChannelConfig? channel_config);
125125
[Throws=NodeError]
126126
void close_channel([ByRef]UserChannelId user_channel_id, PublicKey counterparty_node_id);
127127
[Throws=NodeError]

0 commit comments

Comments
 (0)