Description
After the admin triggers the contract-wide emergency pause, the withdraw entry point continues to process and transfer funds for streams that were mid-withdrawal. The emergency flag is checked at the start of other entry points but the withdraw path reads it after the balance calculation, creating a window where funds are transferred despite the pause being active.
Acceptance Criteria
Notes
⚠️ Do not begin coding until you have been assigned by the maintainer.
Branch as feat/518-fix-emergency-pause-withdraw where N is this issue number.
Description
After the admin triggers the contract-wide emergency pause, the withdraw entry point continues to process and transfer funds for streams that were mid-withdrawal. The emergency flag is checked at the start of other entry points but the withdraw path reads it after the balance calculation, creating a window where funds are transferred despite the pause being active.
Acceptance Criteria
Notes