From 6ac44c6efc4e2a072cd788ec1ba28a0fcf5e17db Mon Sep 17 00:00:00 2001 From: rebustron Date: Mon, 10 Feb 2025 16:33:15 +0100 Subject: [PATCH] docs: fix typo (#4309) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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`). --- app/process_proposal.go | 2 +- x/mint/test/mint_test.go | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/process_proposal.go b/app/process_proposal.go index 68e574f67d..7ab8d5b9f8 100644 --- a/app/process_proposal.go +++ b/app/process_proposal.go @@ -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). diff --git a/x/mint/test/mint_test.go b/x/mint/test/mint_test.go index d86b7ad5d4..c932779749 100644 --- a/x/mint/test/mint_test.go +++ b/x/mint/test/mint_test.go @@ -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