This commit is contained in:
PhilReact 2024-12-25 06:12:35 +02:00
parent ce21324e55
commit ef6111c080

View File

@ -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 = {