Skip to content

Commit

Permalink
Remove extra logs
Browse files Browse the repository at this point in the history
  • Loading branch information
shanejearley committed Dec 6, 2023
1 parent 2b14d75 commit c681fd5
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions services/functions/API-request-source.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,6 @@ async function balancesHandler() {
const endIndex = BigInt(depositedPoolCount).toString(16).padStart(64, "0")

const depositedPoolPublicKeys = await getDepositedPoolPublicKeys(startIndex, endIndex)
console.log("depositedPoolPublicKeys", depositedPoolPublicKeys)
const depositedPoolStatuses = await getDepositedPoolStatuses(startIndex, endIndex)
console.log("depositedPoolStatuses", depositedPoolStatuses)
const validators = await getValidators(depositedPoolPublicKeys)

const beaconBalance = Functions.gweiToWei(validators.reduce((accumulator, { balance }) => {
Expand All @@ -59,7 +56,8 @@ async function detailsHandler() {
const endIndex = BigInt(depositedPoolCount).toString(16).padStart(64, "0")

// const depositedPoolPublicKeys = await getDepositedPoolPublicKeys(startIndex, endIndex)
// const depositedPoolStatuses = await getDepositedPoolStatuses(startIndex, endIndex) // Not used yet
const depositedPoolStatuses = await getDepositedPoolStatuses(startIndex, endIndex)
console.log("Statuses", depositedPoolStatuses)
// const validators = await getValidators(depositedPoolPublicKeys)

const activatedDeposits = 0 // Hardcoded, next update will resolve
Expand Down

0 comments on commit c681fd5

Please sign in to comment.