fix: psbt generation

This commit is contained in:
Vlad Stan
2022-08-03 13:50:07 +03:00
parent b0216bff75
commit 4e9cfc0f74
4 changed files with 53 additions and 40 deletions
@@ -784,24 +784,6 @@ const watchOnly = async () => {
})
return retryWithDelay(fn)
},
fetchTxHex: async function (txId) {
const {
bitcoin: {transactions: transactionsAPI}
} = mempoolJS()
try {
const response = await transactionsAPI.getTxHex({txid: txId})
return response
} catch (error) {
this.$q.notify({
type: 'warning',
message: `Failed to fetch transaction details for tx id: '${txId}'`,
timeout: 10000
})
LNbits.utils.notifyApiError(error)
throw error
}
},
//################### OTHER ###################