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 @@ - +