Skip to content

Commit

Permalink
removed console.log
Browse files Browse the repository at this point in the history
  • Loading branch information
chopan123 committed Aug 1, 2024
1 parent c9e2573 commit 373023f
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/helpers/horizon/createHorizonTransaction.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,9 @@ export const createStellarPathPayment = async (trade: InterfaceTrade, allowedSli
const account = await serverHorizon?.loadAccount(address!);
const path = trade.path?.map((asset) => {
const assetParts = asset.split(":")
console.log('🚀 ~ path ~ assetParts:', assetParts);
if (assetParts.length == 1 && assetParts[0] == "native") {
console.log('🚀 ~ path ~ assetParts native:', assetParts);

return Asset.native()
}
console.log('🚀 ~ path ~ assetParts no native:', assetParts);

return new Asset(assetParts[0], assetParts[1])
})

Expand Down Expand Up @@ -73,7 +68,6 @@ export const createStellarPathPayment = async (trade: InterfaceTrade, allowedSli
);
try {
const transactionResult = await serverHorizon?.submitTransaction(transactionToSubmit);
console.log('🚀 ~ createStellarPathPayment ~ transactionResult:', transactionResult);
return transactionResult;
} catch (e) {
console.log("Error", e);
Expand Down

0 comments on commit 373023f

Please sign in to comment.