NexusMutual / cover-router

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

Fix poolId not a string #26

Closed MilGard91 closed 1 year ago

MilGard91 commented 1 year ago

Context:

Some of the poolIds are being returned as BigNumber

Solution:

Before sending the response call toString() on poolId