Skip to content

releasePolicy issues #114

@rapidddenis

Description

@rapidddenis

function releasePolicy(uint256 bundleId, bytes32 processId)
external override
onlyRiskpoolService
returns(uint256 remainingCollateralAmount)

  1. remainingCollateralAmount is initialised implicitly, function always returns 0
  2. no check for bundleId <-> processId correspondence. It is possible to proceed with processId of bundle[differentBundleId] and decrease active policies of bundle[bundelId] while releasing 0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions