Skip to content

CancelRedeem with reimburse set to true must slash collateral #108

@gupadhyaya

Description

@gupadhyaya

For the vaults that have staked their collateral, the cancel redeem with reimburse=true will not slash the collateral. Add the logic to unstake the collateral and slash it.
Related LOC: https://github.com/harmony-one/onebtc/blob/main/contract/bridge/contracts/Redeem.sol#L151

Metadata

Metadata

Assignees

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