Browse Source

feature(QA sendcoins): qa sendcoins and log the txid

renovate/lint-staged-8.x
Jack Mallers 7 years ago
parent
commit
8a29e02dd5
  1. 5
      app/lnd/methods/index.js

5
app/lnd/methods/index.js

@ -96,7 +96,10 @@ export default function (lnd, event, msg, data) {
// Transaction looks like { txid: String }
// { addr, amount } = data
sendcoins(lnd, data)
.then((transaction) => event.sender.send('sendSuccessful', transaction)
.then((transaction) => {
console.log('transaction: ', transaction)
event.sender.send('sendSuccessful', { transaction })
})
.catch(error => console.log('sendcoins error: ', error))
break
case 'openChannel':

Loading…
Cancel
Save