From 6ec08cf291ea0e25b04d8a1c71c85d0479604190 Mon Sep 17 00:00:00 2001 From: Matt Corallo Date: Tue, 28 Jun 2022 21:56:53 +0000 Subject: [PATCH] [TS] Update tests to new upstream API changes in 0.0.108 --- ts/test/tests.mts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ts/test/tests.mts b/ts/test/tests.mts index 59a16ecd..734ab66d 100644 --- a/ts/test/tests.mts +++ b/ts/test/tests.mts @@ -186,7 +186,7 @@ tests.push(async () => { funding_tx[witness_pos] = 1; funding_tx[witness_pos + 1] = 1; funding_tx[witness_pos + 2] = 0xff; // one witness element of size 1 with contents 0xff funding_tx[witness_pos + 3] = 0; funding_tx[witness_pos + 4] = 0; funding_tx[witness_pos + 5] = 0; funding_tx[witness_pos + 6] = 0; // lock time 0 - const funding_res = chan_man_a.funding_transaction_generated(events[0].temporary_channel_id, funding_tx); + const funding_res = chan_man_a.funding_transaction_generated(events[0].temporary_channel_id, events[0].counterparty_node_id, funding_tx); if (!(funding_res instanceof ldk.Result_NoneAPIErrorZ_OK)) return false; if (!exchange_messages(chan_man_a, chan_man_b)) return false; -- 2.30.2