From 05cc290413a7fb0a6c2922c5eadb5221c0a4314b Mon Sep 17 00:00:00 2001 From: Marc Puig Date: Tue, 23 Jan 2024 14:03:11 +0100 Subject: [PATCH] code readability (#741) --- x/liquidstakeibc/keeper/ibc.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/x/liquidstakeibc/keeper/ibc.go b/x/liquidstakeibc/keeper/ibc.go index 0eb13843c..aa2092212 100644 --- a/x/liquidstakeibc/keeper/ibc.go +++ b/x/liquidstakeibc/keeper/ibc.go @@ -71,11 +71,9 @@ func (k *Keeper) OnChanOpenAck( switch { case portOwner == hc.DelegationAccount.Owner: hc.DelegationAccount.Address = address - hc.DelegationAccount.Owner = portOwner hc.DelegationAccount.ChannelState = types.ICAAccount_ICA_CHANNEL_CREATED case portOwner == hc.RewardsAccount.Owner: hc.RewardsAccount.Address = address - hc.RewardsAccount.Owner = portOwner hc.RewardsAccount.ChannelState = types.ICAAccount_ICA_CHANNEL_CREATED default: k.Logger(ctx).Info("Unrecognized ICA account type for the module", "port-id:", portID, "chain-id", chainID)