send preimage for sendpayment action
This commit is contained in:
parent
d89b128428
commit
36b07e87a4
1 changed files with 2 additions and 2 deletions
|
|
@ -776,11 +776,11 @@ class Mediator {
|
|||
|
||||
await throwOnInvalidToken(token)
|
||||
|
||||
await API.Actions.sendPayment(recipientPub, amount, memo)
|
||||
const preimage = await API.Actions.sendPayment(recipientPub, amount, memo)
|
||||
|
||||
this.socket.emit(Action.SEND_PAYMENT, {
|
||||
ok: true,
|
||||
msg: null,
|
||||
msg: preimage,
|
||||
origBody: reqBody
|
||||
})
|
||||
} catch (err) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue