Skip to content

Commit

Permalink
docs: fix typo (#21815)
Browse files Browse the repository at this point in the history
  • Loading branch information
hattizai authored Sep 19, 2024
1 parent 29077c8 commit 8d5020f
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion x/bank/simulation/genesis.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ func RandomGenesisSendEnabled(r *rand.Rand, bondDenom string) []types.SendEnable
// P(sef) = 18.0% = SendEnabled entry that does not equal the default = P(stc') + P(sfc) = .045 + .135 = .180
//
// P(t) = 81.0% = Bond denom is sendable = P(a'c) + P(st) = .360 + .450 = .810
// P(f) = 19.0% = Bond demon is NOT sendable = P(a'c') + P(sf) = .040 + .150 = .190
// P(f) = 19.0% = Bond denom is NOT sendable = P(a'c') + P(sf) = .040 + .150 = .190

return rv
}
Expand Down
2 changes: 1 addition & 1 deletion x/bank/types/genesis.go
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ func GetGenesisStateFromAppState(cdc codec.JSONCodec, appState map[string]json.R
// Params.SendEnabled slice is empty, this is a noop.
//
// If the main SendEnabled slice already has entries, the Params.SendEnabled
// entries are added. In case of the same demon in both, preference is given to
// entries are added. In case of the same denom in both, preference is given to
// the existing (main GenesisState field) entry.
func (gs *GenesisState) MigrateSendEnabled() {
gs.SendEnabled = gs.GetAllSendEnabled()
Expand Down
2 changes: 1 addition & 1 deletion x/tx/signing/aminojson/aminojson_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ func TestAminoJsonSignMode(t *testing.T) {
Msg: &bankv1beta1.MsgSend{
FromAddress: "foo",
ToAddress: "bar",
Amount: []*basev1beta1.Coin{{Denom: "demon", Amount: "100"}},
Amount: []*basev1beta1.Coin{{Denom: "denom", Amount: "100"}},
},
AccNum: 1,
AccSeq: 2,
Expand Down
2 changes: 1 addition & 1 deletion x/tx/signing/aminojson/fuzz_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ func FuzzSignModeGetSignBytes(f *testing.F) {
Msg: &bankv1beta1.MsgSend{
FromAddress: "foo",
ToAddress: "bar",
Amount: []*basev1beta1.Coin{{Denom: "demon", Amount: "100"}},
Amount: []*basev1beta1.Coin{{Denom: "denom", Amount: "100"}},
},
AccNum: 1,
AccSeq: 2,
Expand Down

0 comments on commit 8d5020f

Please sign in to comment.