Skip to content

Commit

Permalink
fix: hope hub at construction
Browse files Browse the repository at this point in the history
  • Loading branch information
MathisGD committed Mar 15, 2024
1 parent a0efe5d commit 3fef536
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/pools/D3M4626TypePool.sol
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ contract D3M4626TypePool is ID3MPool {
vault = IERC4626(vault_);
vat = VatLike(D3mHubLike(hub).vat());

vat.hope(hub_);

wards[msg.sender] = 1;
emit Rely(msg.sender);

Expand Down

0 comments on commit 3fef536

Please sign in to comment.