We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 09dcb3a commit b906030Copy full SHA for b906030
types/staking.go
@@ -1,9 +1,5 @@
1
package types
2
3
-import (
4
- "math/big"
5
-)
6
-
7
// staking constants
8
const (
9
@@ -23,7 +19,7 @@ const (
23
19
)
24
20
25
21
// PowerReduction is the amount of staking tokens required for 1 unit of consensus-engine power
26
-var PowerReduction = sdk.NewInt(1)
22
+var PowerReduction = NewInt(1)
27
28
// TokensToConsensusPower - convert input tokens to potential consensus-engine power
29
func TokensToConsensusPower(tokens Int) int64 {
0 commit comments