diff --git a/BTCPayServer/Services/PayjoinClient.cs b/BTCPayServer/Services/PayjoinClient.cs index e4793b725..b9d28c283 100644 --- a/BTCPayServer/Services/PayjoinClient.cs +++ b/BTCPayServer/Services/PayjoinClient.cs @@ -314,7 +314,7 @@ namespace BTCPayServer.Services using (HttpClient client = CreateHttpClient(endpoint)) { var bpuresponse = await client.PostAsync(endpoint, - new StringContent(originalTx.ToHex(), Encoding.UTF8, "text/plain"), cancellationToken); + new StringContent(originalTx.ToBase64(), Encoding.UTF8, "text/plain"), cancellationToken); if (!bpuresponse.IsSuccessStatusCode) { var errorStr = await bpuresponse.Content.ReadAsStringAsync();