nodeset-org / constellation

GNU General Public License v3.0
5 stars 0 forks source link

Prevent admin from directly calling `sweepLockedTVL` in Merkle Claim Streamer #373

Closed VVander closed 1 week ago

VVander commented 2 weeks ago

Currently, if the admin calls sweepLockedTVL, it doesn't update priorEthStreamAmount and priorRplStreamAmount. This PR moves these assignments into this function and prevents the admin from calling the function independently. Instead, it's only called as part of setStreamingInterval or submitMerkleClaim.