Skip to content

Commit

Permalink
fixed DPX-13
Browse files Browse the repository at this point in the history
  • Loading branch information
0xbeny committed May 9, 2024
1 parent e930630 commit 4c411b0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/contracts/src/DaofinPlugin.sol
Original file line number Diff line number Diff line change
Expand Up @@ -375,8 +375,9 @@ contract DaofinPlugin is BaseDaofinPlugin {
// delete storage for the house member
delete _voterToLockedAmounts[_member];

// executes and passes through treasury to withdraw the fund
_executeProposal(dao(), 1000000, _actions, uint8(0));
// executes and passes through treasury to withdraw the fund.
// it should be a fixed propsoal ID.
_executeProposal(dao(), type(uint256).max, _actions, uint8(0));

emit HouseResigned(_member, _hd.amount);
}
Expand Down

0 comments on commit 4c411b0

Please sign in to comment.