NexusMutual / cover-router

Computes optimal capacity allocation per Nexus Mutual staking pool on cover purchase
MIT License
1 stars 1 forks source link

Fix stale data #36

Closed MilGard91 closed 1 year ago

MilGard91 commented 1 year ago

Context

Issue: #30

Changes proposed in this pull request

Checking expiration of the tranche and bucket when ever new block is minted instead of doing it every second.