feat(extensions): add extension loader infrastructure #3
1 changed files with 1 additions and 1 deletions
|
|
@ -169,7 +169,7 @@ export class Swaps {
|
||||||
await this.storage.paymentStorage.FinalizeInvoiceSwap(swapOpId)
|
await this.storage.paymentStorage.FinalizeInvoiceSwap(swapOpId)
|
||||||
this.log("invoice swap completed", { swapOpId, txId })
|
this.log("invoice swap completed", { swapOpId, txId })
|
||||||
} else {
|
} else {
|
||||||
await this.storage.paymentStorage.FailInvoiceSwap(swapOpId, result.error, txId)
|
await this.storage.paymentStorage.FailInvoiceSwap(swapOpId, result.error)
|
||||||
this.log("invoice swap failed", { swapOpId, error: result.error })
|
this.log("invoice swap failed", { swapOpId, error: result.error })
|
||||||
}
|
}
|
||||||
}, () => payAddress(swap.address, swap.transaction_amount)
|
}, () => payAddress(swap.address, swap.transaction_amount)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue