Skip to content

Commit

Permalink
Update stellar.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
julihidalgo authored Dec 6, 2024
1 parent 0551216 commit 4e3d354
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/service/blockchains/stellar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ export async function getBalance(
*/

export let paymentDone: PaymentDone
export let pagoProcess:boolean
export let paymentRealized:string
export async function createPayment(
monto: number,
Expand Down Expand Up @@ -100,11 +99,9 @@ export async function createPayment(
amount:monto,
destination: beneficiary,
};
pagoProcess=false
} catch (err) {
console.log('No se pudo completar la transacción');
console.log(err);
paymentRealized="fallido"
pagoProcess=false
}
}

Expand Down

0 comments on commit 4e3d354

Please sign in to comment.