qortal-ui/core/src/transactionRequest.js
AlphaX-Projects fa29ff4c43 Update UI
Refactor and added new functioms
2024-05-08 13:16:23 +02:00

12 lines
294 B
JavaScript

let transactionRequestListener = async () => {
return {
confirmed: false,
reason: 'Dialoag not registered'
}
}
export const requestTransaction = async (...args) => transactionRequestListener(...args)
export const listenForRequest = listener => {
transactionRequestListener = listener
}