Skip to content

Commit af8a56d

Browse files
committed
fix comment
1 parent 35057d7 commit af8a56d

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

contracts/p0/Distributor.sol

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,6 @@ contract DistributorP0 is ComponentP0, IDistributor {
4747
/// Set RevenueShares for destinations. Destinations `FURNACE` and `ST_RSR` refer to
4848
/// main.furnace() and main.stRSR().
4949
/// @custom:governance
50-
// checks: invariants hold in post-state
51-
// effects:
52-
// destinations' = dests
53-
// distribution' = shares
5450
function setDistributions(address[] calldata dests, RevenueShare[] calldata shares)
5551
external
5652
governance

contracts/p1/Distributor.sol

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,8 @@ contract DistributorP1 is ComponentP1, IDistributor {
7474
/// @custom:governance
7575
// checks: invariants hold in post-state
7676
// effects:
77-
// destinations' = dests
78-
// distribution' = shares
77+
// destinations' = destinations.add(dests)
78+
// distribution' = distribution.set(dests[i], shares[i]) for i < dests.length
7979
function setDistributions(address[] calldata dests, RevenueShare[] calldata shares)
8080
external
8181
governance

0 commit comments

Comments
 (0)