Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

collectPremium() caller is unchecked #101

Open
rapidddenis opened this issue May 29, 2023 · 1 comment
Open

collectPremium() caller is unchecked #101

rapidddenis opened this issue May 29, 2023 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@rapidddenis
Copy link

rapidddenis commented May 29, 2023

In PolicyController

function collectPremium(bytes32 processId, uint256 amount)

missing onlyPolicyFlow modifier

@rapidddenis rapidddenis changed the title collectPremium caller must be checked collectPremium() caller must be checked May 29, 2023
@rapidddenis rapidddenis changed the title collectPremium() caller must be checked collectPremium() caller is unchecked May 29, 2023
@matthiaszimmermann matthiaszimmermann added the bug Something isn't working label May 31, 2023
@matthiaszimmermann
Copy link
Contributor

thank you for the bug report!

@matthiaszimmermann matthiaszimmermann self-assigned this May 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants