mirror of
https://github.com/Qortal/qortal-mobile.git
synced 2025-04-24 11:57:52 +00:00
fix send_coin return for qort
This commit is contained in:
parent
d2c79f52c4
commit
24f133acf5
@ -2740,7 +2740,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