Skip to content

Commit

Permalink
chore: add missing symbols in pallets/parachain-staking/src/lib.rs (#727
Browse files Browse the repository at this point in the history
)

## fixes KILTProtocol/ticket#312



Add missing symbols in pallets/parachain-staking/src/lib.rs


## Metadata Diff to Develop Branch

<details>
<summary>Peregrine Diff</summary>

```

```

</details>

<details>
<summary>Spiritnet Diff</summary>

```
```

</details>

## Checklist:

- [ ] I have verified that the code works
- [ ] No panics! (checked arithmetic ops, no indexing `array[3]` use
`get(3)`, ...)
- [ ] I have verified that the code is easy to understand
  - [ ] If not, I have left a well-balanced amount of inline comments
- [ ] I have [left the code in a better
state](https://deviq.com/principles/boy-scout-rule)
- [ ] I have documented the changes (where applicable)
* Either PR or Ticket to update [the
Docs](https://github.com/KILTprotocol/docs)
    * Link the PR/Ticket here

Co-authored-by: Adel Golghalyani <[email protected]>
  • Loading branch information
hongmengning and Ad96el authored Sep 17, 2024
1 parent bb91a4c commit 6c614a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pallets/parachain-staking/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ pub mod pallet {
/// NOTE: To protect against irremovability of a candidate or delegator,
/// we only allow for MaxUnstakeRequests - 1 many manual unstake
/// requests. The last one serves as a placeholder for the cases of
/// calling either `kick_delegator`, force_remove_candidate` or
/// calling either `kick_delegator`, `force_remove_candidate` or
/// `execute_leave_candidates`. Otherwise, a user could max out their
/// unstake requests and prevent themselves from being kicked from the
/// set of candidates/delegators until they unlock their funds.
Expand Down

0 comments on commit 6c614a7

Please sign in to comment.