onchain amt test

This commit is contained in:
boufni95 2025-11-04 18:27:15 +00:00
parent 64ca3ea3f0
commit ec2d48664a

View file

@ -157,7 +157,7 @@ export class Swaps {
const keys = ECPairFactory(ecc).makeRandom()
const url = `${this.settings.getSettings().swapsSettings.boltzHttpUrl}/v2/swap/reverse`
const req = {
invoiceAmount,
onchainAmount: invoiceAmount,
to: 'BTC',
from: 'BTC',
claimPublicKey: Buffer.from(keys.publicKey).toString('hex'),