From: Matt Corallo Date: Tue, 28 Jun 2022 21:56:53 +0000 (+0000) Subject: [TS] Update tests to new upstream API changes in 0.0.108 X-Git-Tag: v0.0.108.0^2~5 X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=6ec08cf291ea0e25b04d8a1c71c85d0479604190;hp=123939f3549c6e96d381fd92ca409a317a03c1f6;p=ldk-java [TS] Update tests to new upstream API changes in 0.0.108 --- 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;