Tenderize / tender-core

Smart contracts for the core Tenderize protocol
MIT License
6 stars 3 forks source link

Check Graph.delegate() return value #238

Closed kyriediculous closed 2 years ago

kyriediculous commented 2 years ago

The return value is the amount of shares issued in the underlying graph delegation pool which at current point in time is irrelevant information for the Tenderizer contract so we don’t have to check its return value.

Might want to add an assert statement that checks it is greater than 0

reubenr0d commented 2 years ago

https://github.com/Tenderize/tender-core/commit/2376391776e34989c46bd261734af503ec457c1b