Skip to content

Commit

Permalink
add usertype column to balances output
Browse files Browse the repository at this point in the history
  • Loading branch information
xarmian committed Mar 26, 2024
1 parent 50a0ec5 commit dad64fa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/balances.js
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,7 @@ const decimalDivisor = 1000000;
// convert sortedBalances to an array of objects
const sortedBalancesArray = sortedBalances.map(([account, { voiBalance, viaBalance }]) => ({
account,
'userType:': 'snapshot',
//voiBalance: voiBalance.toString(),
//viaBalance: viaBalance.toString(),
totalBalance: (voiBalance + viaBalance).toString(),
Expand Down

0 comments on commit dad64fa

Please sign in to comment.