File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -71,10 +71,10 @@ export async function createPayment(
71
71
) {
72
72
paymentRealized = "proceso"
73
73
try {
74
- let sourceKeys = await StellarSdk . Keypair . fromSecret ( payer . privKey ) ;
75
- let sourceAcount = await server . loadAccount ( payer . pubKey ) ;
74
+ const sourceKeys = await StellarSdk . Keypair . fromSecret ( payer . privKey ) ;
75
+ const sourceAcount = await server . loadAccount ( payer . pubKey ) ;
76
76
77
- var transaction = new StellarSdk . TransactionBuilder ( sourceAcount , {
77
+ const transaction = new StellarSdk . TransactionBuilder ( sourceAcount , {
78
78
fee : StellarSdk . BASE_FEE ,
79
79
networkPassphrase : network ,
80
80
} ) ;
@@ -86,9 +86,9 @@ export async function createPayment(
86
86
asset : Asset . native ( ) ,
87
87
} ) ,
88
88
) ;
89
- let operation2 = operation1 . setTimeout ( 100 ) ;
89
+ const operation2 = operation1 . setTimeout ( 100 ) ;
90
90
91
- let pruebaArmada = operation2 . build ( ) ;
91
+ const pruebaArmada = operation2 . build ( ) ;
92
92
console . log ( pruebaArmada ) ;
93
93
94
94
pruebaArmada . sign ( sourceKeys ) ;
You can’t perform that action at this time.
0 commit comments