Skip to content

Commit 6ac44c6

Browse files
authoredFeb 10, 2025··
docs: fix typo (#4309)
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`).
1 parent 389b4ba commit 6ac44c6

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed
 

‎app/process_proposal.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ func (app *App) ProcessProposal(req abci.RequestProcessProposal) (resp abci.Resp
3636
}
3737
}()
3838

39-
// Create the anteHander that is used to check the validity of
39+
// Create the anteHandler that is used to check the validity of
4040
// transactions. All transactions need to be equally validated here
4141
// so that the nonce number is always correctly incremented (which
4242
// may affect the validity of future transactions).

‎x/mint/test/mint_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -57,13 +57,13 @@ func (s *IntegrationTestSuite) TestTotalSupplyIncreasesOverTime() {
5757
err := s.cctx.WaitForNextBlock()
5858
require.NoError(err)
5959

60-
initalSupply := s.getTotalSupply(initialHeight)
60+
initialSupply := s.getTotalSupply(initialHeight)
6161

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

66-
require.True(initalSupply.AmountOf(app.BondDenom).LT(laterSupply.AmountOf(app.BondDenom)))
66+
require.True(initialSupply.AmountOf(app.BondDenom).LT(laterSupply.AmountOf(app.BondDenom)))
6767
}
6868

6969
// TestInflationRate verifies that the inflation rate each year matches the

0 commit comments

Comments
 (0)
Please sign in to comment.