mirror of
https://github.com/aljazceru/breez-sdk-docs.git
synced 2025-12-18 14:24:19 +01:00
Fix sendOnchain call
This commit is contained in:
@@ -261,7 +261,7 @@ const destinationAddress = "bc1..";
|
|||||||
const amountSat = currentFees.min;
|
const amountSat = currentFees.min;
|
||||||
const satPerVbyte = <fee rate>
|
const satPerVbyte = <fee rate>
|
||||||
try {
|
try {
|
||||||
const reverseSwapInfo = sendOnchain(amountSat, destinationAddress, currentFees.feesHash, satPerVbyte)
|
const reverseSwapInfo = await sendOnchain(amountSat, destinationAddress, currentFees.feesHash, satPerVbyte)
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.log(error)
|
console.log(error)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user