Skip to content
This repository has been archived by the owner on Mar 22, 2023. It is now read-only.

Commit

Permalink
listener addreserves and removereserves code changed
Browse files Browse the repository at this point in the history
  • Loading branch information
Hammad-Mubeen committed Feb 12, 2022
1 parent 1bc206c commit dbf5bbc
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions routes/listenerroutes.js
Original file line number Diff line number Diff line change
Expand Up @@ -658,10 +658,10 @@ router.route("/geteventsdata").post(async function (req, res, next) {
console.log(newData[4][0].data + " = " + newData[4][1].data);
console.log(newData[5][0].data + " = " + newData[5][1].data);

var user = splitdata(newData[2][1].data);
var pair = splitdata(newData[3][1].data);
var reserve0 = newData[4][1].data;
var reserve1 = newData[5][1].data;
var user = splitdata(newData[5][1].data);
var pair = newData[2][1].data;
var reserve0 = newData[3][1].data;
var reserve1 = newData[4][1].data;

console.log("user: ", user);
console.log("pair: ", pair);
Expand Down Expand Up @@ -698,10 +698,10 @@ router.route("/geteventsdata").post(async function (req, res, next) {
console.log(newData[4][0].data + " = " + newData[4][1].data);
console.log(newData[5][0].data + " = " + newData[5][1].data);

var user = splitdata(newData[2][1].data);
var pair = splitdata(newData[3][1].data);
var reserve0 = newData[4][1].data;
var reserve1 = newData[5][1].data;
var user = splitdata(newData[5][1].data);
var pair = newData[2][1].data;
var reserve0 = newData[3][1].data;
var reserve1 = newData[4][1].data;

console.log("user: ", user);
console.log("pair: ", pair);
Expand Down

0 comments on commit dbf5bbc

Please sign in to comment.