Skip to content

Commit

Permalink
Update docs/docs/adrs/adr-015-partial-set-security.md
Browse files Browse the repository at this point in the history
Co-authored-by: Simon Noetzlin <simon.ntz@gmail.com>
  • Loading branch information
insumity and sainoe authored Jan 26, 2024
1 parent 66122ad commit 84e2a8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/docs/adrs/adr-015-partial-set-security.md
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ func (k Keeper) BeginBlockInit(ctx sdk.Context) {
To send the validator set to a consumer chain we first have to generate the validator updates with a function similar to this one:

```
func (k Keeper) GetPartialSetValidators(ctx types.Context, chainId string valUpdates []abci.ValidatorUpdate) (newUpdates []abci.ValidatorUpdate)
func (k Keeper) GetPartialSetValidators(ctx types.Context, chainId string, valUpdates []abci.ValidatorUpdate) (newUpdates []abci.ValidatorUpdate)
powerSum := sdk.ZeroDec()
totalPower := k.ComputeTotalPower(ctx)
Expand Down

0 comments on commit 84e2a8f

Please sign in to comment.