Skip to content

Commit b906030

Browse files
committed
fix staking error
1 parent 09dcb3a commit b906030

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

types/staking.go

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
package types
22

3-
import (
4-
"math/big"
5-
)
6-
73
// staking constants
84
const (
95

@@ -23,7 +19,7 @@ const (
2319
)
2420

2521
// 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)
2723

2824
// TokensToConsensusPower - convert input tokens to potential consensus-engine power
2925
func TokensToConsensusPower(tokens Int) int64 {

0 commit comments

Comments
 (0)