Skip to content

Commit 8003658

Browse files
authored
Add a link to #1617 in the codebase (#1619)
TODO(#1617): Check the return value of `Update` and handle errors appropriately
1 parent 472862a commit 8003658

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

x/gov/keeper/subspace.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ package keeper
22

33
import (
44
"fmt"
5-
"github.com/pokt-network/pocket-core/codec"
65
"os"
76

7+
"github.com/pokt-network/pocket-core/codec"
88
sdk "github.com/pokt-network/pocket-core/types"
99
"github.com/pokt-network/pocket-core/x/gov/types"
1010
)
@@ -213,6 +213,7 @@ func (k Keeper) ModifyParam(ctx sdk.Ctx, aclKey string, paramValue []byte, owner
213213
k.Logger(ctx).Error(types.ErrSubspaceNotFound(types.ModuleName, subspaceName).Error())
214214
os.Exit(1)
215215
}
216+
// TODO(#1617): Check the return value of `Update` and handle errors appropriately
216217
_ = space.Update(ctx, []byte(paramKey), paramValue)
217218
k.spaces[subspaceName] = space
218219
// create the event

0 commit comments

Comments
 (0)