Skip to content

Commit

Permalink
fix: mispell
Browse files Browse the repository at this point in the history
  • Loading branch information
cgilbe27 committed May 6, 2024
1 parent 84cf8b5 commit 10d660f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/sdk/utils/math.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { computeStakingEmmisionPerPeriod } from "./math"
import { computeStakingEmissionPerPeriod } from "./math"
import { Params } from "src/protojs/nibiru/inflation/v1/genesis"
import Long from "long"
import { QueryEpochMintProvisionResponse } from "src/protojs/nibiru/inflation/v1/query"
Expand All @@ -24,7 +24,7 @@ const params = {
hasInflationStarted: true,
}

describe("computeStakingEmmisionPerPeriod", () => {
describe("computeStakingEmissionPerPeriod", () => {
interface TestCase {
name: string
in: {
Expand Down Expand Up @@ -79,7 +79,7 @@ describe("computeStakingEmmisionPerPeriod", () => {
test.each(tests)("%o", (tt) => {
let failed = false
try {
const res = computeStakingEmmisionPerPeriod(
const res = computeStakingEmissionPerPeriod(
tt.in.params,
tt.in.epochMintProvision,
tt.in.totalStaked,
Expand Down
2 changes: 1 addition & 1 deletion src/sdk/utils/math.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import { QueryEpochMintProvisionResponse } from "src/protojs/nibiru/inflation/v1
* @param addedStake - New stake to add to the user's current stake. This is
* used to compute a new annual percentage return after a staking tx.
* */
export const computeStakingEmmisionPerPeriod = (
export const computeStakingEmissionPerPeriod = (
params: Params,
epochMintProvision: QueryEpochMintProvisionResponse,
totalStaked: number,
Expand Down

0 comments on commit 10d660f

Please sign in to comment.