Skip to content

Commit

Permalink
Update x/group/internal/orm/table.go
Browse files Browse the repository at this point in the history
Co-authored-by: Robert Zaremba <robert@zaremba.ch>
  • Loading branch information
blushi and robert-zaremba authored Oct 21, 2021
1 parent 7c63cbd commit 87fc7b0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions x/group/internal/orm/table.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,7 @@ func (a table) Create(store sdk.KVStore, rowID RowID, obj codec.ProtoMarshaler)
// therefore make sure that this contract is fulfilled. Parameters must not be
// nil.
//
// Update iterates through the registered callbacks that may add or remove
// secondary index keys.
// Update triggers all "after set" hooks that may add or remove secondary index keys.
func (a table) Update(store sdk.KVStore, rowID RowID, newValue codec.ProtoMarshaler) error {
if !a.Has(store, rowID) {
return errors.ErrNotFound
Expand Down

0 comments on commit 87fc7b0

Please sign in to comment.