onchain amt test
This commit is contained in:
parent
64ca3ea3f0
commit
ec2d48664a
1 changed files with 1 additions and 1 deletions
|
|
@ -157,7 +157,7 @@ export class Swaps {
|
||||||
const keys = ECPairFactory(ecc).makeRandom()
|
const keys = ECPairFactory(ecc).makeRandom()
|
||||||
const url = `${this.settings.getSettings().swapsSettings.boltzHttpUrl}/v2/swap/reverse`
|
const url = `${this.settings.getSettings().swapsSettings.boltzHttpUrl}/v2/swap/reverse`
|
||||||
const req = {
|
const req = {
|
||||||
invoiceAmount,
|
onchainAmount: invoiceAmount,
|
||||||
to: 'BTC',
|
to: 'BTC',
|
||||||
from: 'BTC',
|
from: 'BTC',
|
||||||
claimPublicKey: Buffer.from(keys.publicKey).toString('hex'),
|
claimPublicKey: Buffer.from(keys.publicKey).toString('hex'),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue