You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

11 lines
344 B

import bitcore from 'bitcore-lib'
import pushclosechannel from '../push/closechannel'
export default function closechannel(lnd, event, payload) {
console.log('payload: ', payload)
return new Promise((resolve, reject) =>
pushclosechannel(lnd, event, payload)
.then(data => resolve(data))
.catch(error => reject(error))
)
}