Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
ianlapham committed Jun 22, 2020
1 parent e5980b9 commit 3209e95
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ type UniswapDayData @entity {

type PairHourData @entity {
id: ID!
hourIndex: Int!
hourStartUnix: Int!
pair: Pair!

# reserves
Expand Down
2 changes: 1 addition & 1 deletion src/mappings/dayUpdates.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ export function updatePairHourData(event: EthereumEvent): void {
let pairHourData = PairHourData.load(hourPairID)
if (pairHourData == null) {
let pairHourData = new PairHourData(hourPairID)
pairHourData.date = hourStartIndex
pairHourData.hourStartUnix = hourStartIndex
pairHourData.pair = event.address.toHexString()
pairHourData.reserve0 = ZERO_BD
pairHourData.reserve1 = ZERO_BD
Expand Down

0 comments on commit 3209e95

Please sign in to comment.