Skip to content

Commit

Permalink
chore: remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
troykessler committed Dec 18, 2024
1 parent 2b06b70 commit ef69783
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions x/stakers/keeper/getters_valaccount.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,14 +96,6 @@ func (k Keeper) GetPoolCount(ctx sdk.Context, stakerAddress string) (poolCount u
// # Raw KV-Store operations #
// #############################

// DoesValaccountExist only checks if the key is present in the KV-Store
// without loading and unmarshalling to full entry
//func (k Keeper) DoesValaccountExist(ctx sdk.Context, poolId uint64, stakerAddress string) bool {
// storeAdapter := runtime.KVStoreAdapter(k.storeService.OpenKVStore(ctx))
// store := prefix.NewStore(storeAdapter, types.ValaccountPrefix)
// return store.Has(types.ValaccountKey(poolId, stakerAddress))
//}

// SetValaccount set a specific Valaccount in the store from its index
func (k Keeper) SetValaccount(ctx sdk.Context, valaccount types.Valaccount) {
storeAdapter := runtime.KVStoreAdapter(k.storeService.OpenKVStore(ctx))
Expand Down

0 comments on commit ef69783

Please sign in to comment.