mirror of
https://github.com/Qortal/Qortal-Hub.git
synced 2025-06-09 18:06:58 +00:00
remove logs
This commit is contained in:
parent
e91098990e
commit
3d68cbf556
@ -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,
|
||||
{
|
||||
|
@ -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, {
|
||||
|
Loading…
x
Reference in New Issue
Block a user