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.
Currently, if the admin calls sweepLockedTVL, it doesn't update
priorEthStreamAmount
andpriorRplStreamAmount
. This PR moves these assignments into this function and prevents the admin from calling the function independently. Instead, it's only called as part ofsetStreamingInterval
orsubmitMerkleClaim
.