mirror of
https://github.com/Qortal/qortal-mobile.git
synced 2025-03-14 20:02:33 +00:00
fix
This commit is contained in:
parent
ce21324e55
commit
ef6111c080
@ -1693,6 +1693,10 @@ export async function createBuyOrderTx({ crosschainAtInfo, isGateway, foreignBlo
|
||||
|
||||
|
||||
const res = await responseFetch.json();
|
||||
if(res?.error && res?.message){
|
||||
throw new Error(res?.message)
|
||||
}
|
||||
if(!responseFetch?.ok) throw new Error('Failed to submit buy order')
|
||||
|
||||
if (res === false) {
|
||||
responseVar = {
|
||||
|
Loading…
x
Reference in New Issue
Block a user