Skip to content

Commit

Permalink
remove unnecessary code
Browse files Browse the repository at this point in the history
  • Loading branch information
alexgao001 committed Feb 21, 2024
1 parent a77f0f8 commit 52008a3
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions x/storage/keeper/keeper.go
Original file line number Diff line number Diff line change
Expand Up @@ -2492,9 +2492,6 @@ func (k Keeper) UpdateObjectContent(
}
}

bbz := k.cdc.MustMarshal(bucketInfo)
store.Set(types.GetBucketByIDKey(bucketInfo.Id), bbz)

obz := k.cdc.MustMarshal(objectInfo)
store.Set(types.GetObjectKey(bucketName, objectName), k.objectSeq.EncodeSequence(objectInfo.Id))
store.Set(types.GetObjectByIDKey(objectInfo.Id), obz)
Expand Down

0 comments on commit 52008a3

Please sign in to comment.