Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Register
Sign in
Toggle navigation
Menu
Open sidebar
Tiger Ton
osmosis
Commits
fbbafa6a
Unverified
Commit
fbbafa6a
authored
3 years ago
by
Matt, Park
Committed by
GitHub
3 years ago
Browse files
Options
Download
Email Patches
Plain Diff
Delete duplicate usage of setGauge at initGenesis (#797)
parent
a90b0b0e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
x/incentives/keeper/gauge.go
+0
-10
x/incentives/keeper/gauge.go
with
0 additions
and
10 deletions
+0
-10
x/incentives/keeper/gauge.go
+
0
-
10
View file @
fbbafa6a
...
...
@@ -92,16 +92,6 @@ func (k Keeper) SetGaugeWithRefKey(ctx sdk.Context, gauge *types.Gauge) error {
err
=
k
.
CreateGaugeRefKeys
(
ctx
,
gauge
,
combinedKeys
,
activeOrUpcomingGauge
)
}
if
err
!=
nil
{
return
err
}
store
:=
ctx
.
KVStore
(
k
.
storeKey
)
bz
,
err
:=
proto
.
Marshal
(
gauge
)
if
err
!=
nil
{
return
err
}
store
.
Set
(
gaugeStoreKey
(
gauge
.
Id
),
bz
)
return
nil
}
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment