NexusMutual / cover-router

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

fix: Fix custom priority pools order bug #103

Closed rackstar closed 1 week ago

rackstar commented 1 week ago

Context

it mutates the reducer state so subsequent calls have empty custom priority pools array which causes it to fail

Changes proposed in this pull request

Test plan

Checklist

Review

When reviewing a PR, please indicate intention in comments using the following emojis: