Skip to content

Commit

Permalink
docs: fix typo (#4182)
Browse files Browse the repository at this point in the history
Changes Made:
1. test/util/genesis/accounts.go:
- Old: "validitor" -> New: "validator"
- Location: Comment before ValidateBasic function

2. test/txs/stake.go:
- Old: "redelgated" -> New: "redelegated" 
- Location: Comment in stake sequence function

Reason:
Fixed misspellings in code comments to improve readability and maintain
consistent terminology. These are documentation-only changes with no
functional impact.
  • Loading branch information
Daulox92 authored Jan 6, 2025
1 parent 788a21f commit d58af4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/txsim/stake.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ func (s *StakeSequence) Next(ctx context.Context, querier grpc.ClientConn, rand
DelegatorAddress: s.account.String(),
ValidatorSrcAddress: s.delegatedTo,
ValidatorDstAddress: val.OperatorAddress,
// NOTE: only the initial stake is redelgated (not the entire balance)
// NOTE: only the initial stake is redelegated (not the entire balance)
Amount: types.NewInt64Coin(appconsts.BondDenom, int64(s.initialStake)),
},
},
Expand Down

0 comments on commit d58af4a

Please sign in to comment.