Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
ccyanxyz committed Oct 3, 2020
1 parent 6dfaaf0 commit c5325ac
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 52 deletions.
51 changes: 0 additions & 51 deletions src/contract/README.md

This file was deleted.

2 changes: 1 addition & 1 deletion src/events.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def process_receipts(receipts, pairsDict, pairs):
# process event
event = None
if log['topics'][0] == sync_topic:
event = c.events.Sync.parseLog(log)
event = c.events.Sync().processLog(log)
pairs[pairsDict[log['address']]['arrIndex']]['reserve0'] = event['reserve0']
pairs[pairsDict[log['address']]['arrIndex']]['reserve1'] = event['reserve1']
return pairs

0 comments on commit c5325ac

Please sign in to comment.