kleros / court-functions

Court lambda functions
0 stars 0 forks source link

fix: metaevidence block range off by one #4

Closed shotaronowhere closed 1 year ago

shotaronowhere commented 1 year ago

BigInt division rounds down, hence the toBlock calculation is off by one.

This PR implements a simple fix

netlify[bot] commented 1 year ago

Deploy Preview for kleros-api ready!

Name Link
Latest commit 2cba0771ea4c323565d168498a985c2e562dd547
Latest deploy log https://app.netlify.com/sites/kleros-api/deploys/64d4cfb424d3b90008870f7a
Deploy Preview https://deploy-preview-4--kleros-api.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.