Skip to content

Commit

Permalink
Use base65 instead of hex for BIP78 (#1985)
Browse files Browse the repository at this point in the history
fixes #1984
  • Loading branch information
Kukks committed Oct 14, 2020
1 parent f2870ca commit e2eb26e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion BTCPayServer/Services/PayjoinClient.cs
Expand Up @@ -314,7 +314,7 @@ private async Task<PSBT> SendOriginalTransaction(Uri endpoint, PSBT originalTx,
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();
Expand Down

0 comments on commit e2eb26e

Please sign in to comment.