sablier-labs / v2-core

⏳ Core smart contracts of the Sablier V2 token distribution protocol
https://sablier.com
Other
311 stars 47 forks source link

Remove redundat `Lockup` "namespace" in `Stream` struct #975

Closed andreivladbrg closed 2 months ago

andreivladbrg commented 3 months ago

In the current version of the common Stream struct, we declare the Amounts struct as:

https://github.com/sablier-labs/v2-core/blob/daeac7c23942ac465fd5da5d8291ecd433326e72/src/types/DataTypes.sol#L95

This is not needed as both of these structs are declared under Lockup.

smol-ninja commented 3 months ago

Good catch.