Skip to content

Commit 4dce3b7

Browse files
committed
fix flag
1 parent 701ea33 commit 4dce3b7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ contract GeneralDistributionAgreementV1 is AgreementBase, TokenMonad, IGeneralDi
314314
/// @inheritdoc IGeneralDistributionAgreementV1
315315
function connectPool(ISuperfluidPool pool, bytes calldata ctx) external override returns (bytes memory newCtx) {
316316
newCtx = ctx;
317-
_setPoolConnection(pool, address(0), true, true, ctx);
317+
_setPoolConnection(pool, address(0), true, false, ctx);
318318
}
319319

320320
/// @inheritdoc IGeneralDistributionAgreementV1
@@ -330,7 +330,7 @@ contract GeneralDistributionAgreementV1 is AgreementBase, TokenMonad, IGeneralDi
330330
if (simpleACL.hasRole(ACL_POOL_CONNECT_EXCLUSIVE_ROLE, memberAddr)) {
331331
success = false;
332332
} else {
333-
success = _setPoolConnection(pool, memberAddr, true, false, ctx);
333+
success = _setPoolConnection(pool, memberAddr, true, true, ctx);
334334
}
335335
}
336336

0 commit comments

Comments
 (0)