Skip to content

Commit a6a8572

Browse files
authored
Merge pull request #2388 from cmgustavo/bug/pp-broadcast-01
fix(paypro): broadcast tx
2 parents 34ae224 + c0004de commit a6a8572

File tree

1 file changed

+2
-2
lines changed
  • packages/bitcore-wallet-client/src/lib

1 file changed

+2
-2
lines changed

packages/bitcore-wallet-client/src/lib/paypro.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ export class PayPro {
290290
'Content-Type': JSON_PAYMENT_VERIFY_CONTENT_TYPE
291291
};
292292
let size = opts.rawTx.length / 2;
293-
opts.body = JSON.stringify({
293+
opts.args = JSON.stringify({
294294
currency: COIN,
295295
unsignedTransaction: opts.rawTxUnsigned,
296296
weightedSize: size
@@ -322,7 +322,7 @@ export class PayPro {
322322
}
323323
}
324324

325-
opts.body = JSON.stringify({
325+
opts.args = JSON.stringify({
326326
currency: COIN,
327327
transactions: [opts.rawTx]
328328
});

0 commit comments

Comments
 (0)