mirror of
https://github.com/stronk-dev/LivepeerEvents.git
synced 2025-07-05 10:45:10 +02:00
fix dog shit in my code
This commit is contained in:
parent
e69338ed5f
commit
2896325492
@ -800,8 +800,8 @@ const parseAnyEvent = async function (thisEvent) {
|
||||
} else if (thisName === "EarningsClaimed") {
|
||||
const eventObj = {
|
||||
address: thisEvent.data.delegator.toLowerCase(),
|
||||
fees: parseFloat(thisEvent.data.rewards) / 1000000000000000000,
|
||||
rewards: parseFloat(thisEvent.data.fees) / 1000000000000000000,
|
||||
fees: parseFloat(thisEvent.data.fees) / 1000000000000000000,
|
||||
rewards: parseFloat(thisEvent.data.rewards) / 1000000000000000000,
|
||||
startRound: parseInt(thisEvent.data.startRound),
|
||||
endRound: parseInt(thisEvent.data.endRound),
|
||||
transactionHash: thisEvent.transactionHash,
|
||||
|
Loading…
x
Reference in New Issue
Block a user