mirror of
https://github.com/Qortal/chrome-extension.git
synced 2025-04-26 21:07:53 +00:00
fix send_coin return for qort
This commit is contained in:
parent
299377af72
commit
5b78bc4fb2
@ -2688,7 +2688,7 @@ export const sendCoin = async (data, isFromExtension) => {
|
|||||||
|
|
||||||
if (accepted) {
|
if (accepted) {
|
||||||
const makePayment = await sendCoinFunc({amount, password: null, receiver: recipient }, true)
|
const makePayment = await sendCoinFunc({amount, password: null, receiver: recipient }, true)
|
||||||
return makePayment.res
|
return makePayment.res?.data
|
||||||
} else {
|
} else {
|
||||||
throw new Error("User declined request")
|
throw new Error("User declined request")
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user