Skip to content

Commit

Permalink
docs(supply-calculator): rename param
Browse files Browse the repository at this point in the history
  • Loading branch information
onmax authored Dec 5, 2024
1 parent 96de637 commit 98ee7d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/nimiq-supply-calculator/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ Here’s an example of how to use the library to compute the supply:
```ts
import { posSupplyAt } from 'nimiq-supply-calculator'

const duration = 31556952000 // One year in milliseconds
const timestamp = Date.now() // In milliseconds

const posSupply = posSupplyAt(duration)
const posSupply = posSupplyAt(timestamp)
console.log('PoS Supply:', posSupply)
```

Expand Down

0 comments on commit 98ee7d9

Please sign in to comment.