mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-11-10 10:05:18 +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
|
||||
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{})
|
||||
k.cdc.MustUnmarshalBinaryLengthPrefixed(bz, &denom)
|
||||
return
|
||||
|
Loading…
Reference in New Issue
Block a user