mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-12-24 23:35:19 +00:00
Fix gov denom typo (#333)
This commit is contained in:
parent
d018aaebcf
commit
33ad221e5f
@ -305,7 +305,7 @@ func (k Keeper) GetDebtDenom(ctx sdk.Context) (denom string) {
|
|||||||
|
|
||||||
// GetGovDenom returns the denom of debt in the system
|
// GetGovDenom returns the denom of debt in the system
|
||||||
func (k Keeper) GetGovDenom(ctx sdk.Context) (denom string) {
|
func (k Keeper) GetGovDenom(ctx sdk.Context) (denom string) {
|
||||||
store := prefix.NewStore(ctx.KVStore(k.key), types.DebtDenomKey)
|
store := prefix.NewStore(ctx.KVStore(k.key), types.GovDenomKey)
|
||||||
bz := store.Get([]byte{})
|
bz := store.Get([]byte{})
|
||||||
k.cdc.MustUnmarshalBinaryLengthPrefixed(bz, &denom)
|
k.cdc.MustUnmarshalBinaryLengthPrefixed(bz, &denom)
|
||||||
return
|
return
|
||||||
|
Loading…
Reference in New Issue
Block a user