mirror of
https://github.com/Qortal/qortal-ui.git
synced 2025-03-27 15:55:55 +00:00
12 lines
294 B
JavaScript
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
|
|
} |