Skip to content

Commit

Permalink
docs: fix typo (#4309)
Browse files Browse the repository at this point in the history
Hi! Just a quick cleanup PR to fix a couple of typos:

- **`process_proposal.go`** – Fixed a comment typo (`anteHander` →
`anteHandler`).
- **`mint_test.go`** – Corrected a variable name (`initalSupply` →
`initialSupply`).
  • Loading branch information
rebustron authored Feb 10, 2025
1 parent 389b4ba commit 6ac44c6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/process_proposal.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ func (app *App) ProcessProposal(req abci.RequestProcessProposal) (resp abci.Resp
}
}()

// Create the anteHander that is used to check the validity of
// Create the anteHandler that is used to check the validity of
// transactions. All transactions need to be equally validated here
// so that the nonce number is always correctly incremented (which
// may affect the validity of future transactions).
Expand Down
4 changes: 2 additions & 2 deletions x/mint/test/mint_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,13 +57,13 @@ func (s *IntegrationTestSuite) TestTotalSupplyIncreasesOverTime() {
err := s.cctx.WaitForNextBlock()
require.NoError(err)

initalSupply := s.getTotalSupply(initialHeight)
initialSupply := s.getTotalSupply(initialHeight)

_, err = s.cctx.WaitForHeight(laterHeight + 1)
require.NoError(err)
laterSupply := s.getTotalSupply(laterHeight)

require.True(initalSupply.AmountOf(app.BondDenom).LT(laterSupply.AmountOf(app.BondDenom)))
require.True(initialSupply.AmountOf(app.BondDenom).LT(laterSupply.AmountOf(app.BondDenom)))
}

// TestInflationRate verifies that the inflation rate each year matches the
Expand Down

0 comments on commit 6ac44c6

Please sign in to comment.