Skip to content

Commit

Permalink
Cambio logs en getNextArbiter para debuggear error en shopify
Browse files Browse the repository at this point in the history
  • Loading branch information
PELUQAZ committed Jan 31, 2025
1 parent f190337 commit 319047b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion test/front/wmc-front-script.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,10 @@ async function loadData() {
document.getElementById("serviceProvider").value = sprParamWallet;

//Árbitro
nextArbiter = await contract.getNextArbiter();
//nextArbiter = await contract.getNextArbiter();
nextArbiter = contract.getNextArbiter()
.then(result => console.log("Árbitro obtenido: ", result))
.catch(error => console.error("Error en getNextArbiter: ", error));
document.getElementById("arbitrator").value = nextArbiter;

} catch (error) {
Expand Down

0 comments on commit 319047b

Please sign in to comment.