From d6b547d8bf118960fd32bd6550be6efd566fdfd9 Mon Sep 17 00:00:00 2001 From: Nicolas Dorier Date: Sun, 19 Jan 2025 18:19:05 +0900 Subject: [PATCH] Bump Payjoin libraries (#6561) --- BTCPayServer.Tests/PayJoinTests.cs | 4 ++-- BTCPayServer/BTCPayServer.csproj | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/BTCPayServer.Tests/PayJoinTests.cs b/BTCPayServer.Tests/PayJoinTests.cs index dc477c71c..f37663fb1 100644 --- a/BTCPayServer.Tests/PayJoinTests.cs +++ b/BTCPayServer.Tests/PayJoinTests.cs @@ -481,12 +481,12 @@ namespace BTCPayServer.Tests var request = await fakeServer.GetNextRequest(); Assert.Equal("1", request.Request.Query["v"][0]); Assert.Equal(changeIndex.ToString(), request.Request.Query["additionalfeeoutputindex"][0]); - Assert.Equal("1146", request.Request.Query["maxadditionalfeecontribution"][0]); + Assert.Equal("1853", request.Request.Query["maxadditionalfeecontribution"][0]); TestLogs.LogInformation("The payjoin receiver tries to make us pay lots of fee"); var originalPSBT = await ParsePSBT(request); var proposalTx = originalPSBT.GetGlobalTransaction(); - proposalTx.Outputs[changeIndex].Value -= Money.Satoshis(1147); + proposalTx.Outputs[changeIndex].Value -= Money.Satoshis(1854); await request.Response.WriteAsync(PSBT.FromTransaction(proposalTx, Network.RegTest).ToBase64(), Encoding.UTF8); fakeServer.Done(); var ex = await Assert.ThrowsAsync(async () => await requesting); diff --git a/BTCPayServer/BTCPayServer.csproj b/BTCPayServer/BTCPayServer.csproj index 9ac706557..fa593a355 100644 --- a/BTCPayServer/BTCPayServer.csproj +++ b/BTCPayServer/BTCPayServer.csproj @@ -1,4 +1,4 @@ - + @@ -52,7 +52,7 @@ - +