Skip to content

Commit 61392d4

Browse files
committed
being pedantic
1 parent cc4a064 commit 61392d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/ethereum-contracts/contracts/agreements/gdav1/SuperfluidPool.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -454,7 +454,7 @@ contract SuperfluidPool is ISuperfluidPool, BeaconProxiable {
454454
assert(GDA.appendIndexUpdateByPool(superToken, p, t));
455455
}
456456

457-
if (oldUnits == 0 && newUnits != 0 || oldUnits != 0 && newUnits == 0) {
457+
if ((oldUnits == 0 || newUnits == 0) && oldUnits != newUnits) {
458458
GDA.tokenEmitPseudoTransfer(superToken, address(this), memberAddr);
459459
}
460460

0 commit comments

Comments
 (0)