mirror of
https://github.com/0glabs/0g-chain.git
synced 2025-01-13 16:55:17 +00:00
fix
This commit is contained in:
parent
71b48e64ad
commit
758c81e481
@ -5,7 +5,6 @@ import (
|
|||||||
"io"
|
"io"
|
||||||
"net/http"
|
"net/http"
|
||||||
|
|
||||||
sdkmath "cosmossdk.io/math"
|
|
||||||
"github.com/cosmos/cosmos-sdk/baseapp"
|
"github.com/cosmos/cosmos-sdk/baseapp"
|
||||||
"github.com/cosmos/cosmos-sdk/client"
|
"github.com/cosmos/cosmos-sdk/client"
|
||||||
nodeservice "github.com/cosmos/cosmos-sdk/client/grpc/node"
|
nodeservice "github.com/cosmos/cosmos-sdk/client/grpc/node"
|
||||||
@ -264,9 +263,6 @@ type App struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
// 1stake = 1 ukava = 1_000_000_000_000 akava = 1_000_000_000_000 neuron
|
|
||||||
conversionMultiplier := sdkmath.NewIntFromUint64(1_000_000_000_000)
|
|
||||||
sdk.DefaultPowerReduction = sdk.DefaultPowerReduction.Mul(conversionMultiplier)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// NewApp returns a reference to an initialized App.
|
// NewApp returns a reference to an initialized App.
|
||||||
|
Loading…
Reference in New Issue
Block a user