mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-21 14:04:12 +01:00
parent
f2870caed2
commit
e2eb26eb93
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Reference in a new issue