remove logs

This commit is contained in:
PhilReact 2024-12-23 07:10:04 +02:00
parent e91098990e
commit 3d68cbf556
2 changed files with 4 additions and 2 deletions

View File

@ -1775,7 +1775,6 @@ export async function createBuyOrderTx({ crosschainAtInfo, isGateway, foreignBlo
const address = wallet.address0;
let message
if(foreignBlockchain === 'PIRATECHAIN'){
console.log('crosschainAtInfo', crosschainAtInfo, crosschainAtInfo[0].qortalAtAddress)
message = {
atAddress: crosschainAtInfo[0].qortalAtAddress,
foreignKey: await getForeignKey(foreignBlockchain),
@ -1808,7 +1807,6 @@ export async function createBuyOrderTx({ crosschainAtInfo, isGateway, foreignBlo
url = await createEndpoint('/crosschain/tradebot/respondmultiple')
}
console.log('txn', txn, JSON.stringify(txn))
const responseFetch = await fetch(
url,
{

View File

@ -1894,6 +1894,10 @@ export const getWalletBalance = async (
};
const getPirateWallet = async (arrrSeed58)=> {
const isGateway = await isRunningGateway();
if (isGateway) {
throw new Error("Retrieving PIRATECHAIN balance is not allowed through a gateway.");
}
const bodyToString = arrrSeed58;
const url = await createEndpoint(`/crosschain/arrr/walletaddress`);
const response = await fetch(url, {