Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
j75689 committed Dec 13, 2023
1 parent 5029940 commit 36e6bdf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x/sidechain/chanManage.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,6 @@ func (k *Keeper) getLastChanPermissionChanges(ctx sdk.Context) []types.ChanPermi

func (k *Keeper) SaveChannelSettingChangeToIbc(ctx sdk.Context, sideChainId sdk.ChainID, channelId sdk.ChannelID, permission sdk.ChannelPermission) (seq uint64, sdkErr sdk.Error) {
valueBytes := []byte{byte(channelId), byte(permission)}

ctx.Logger().Info("SaveChannelSettingChangeToIbc", "sideChainId", sideChainId, "channelId", channelId, "permission", permission, "valueBytes", valueBytes, "k", k)
return k.sendParamChangeToIbc(ctx, sideChainId, EnableOrDisableChannelKey, valueBytes, CrossChainContractAddr)
}

0 comments on commit 36e6bdf

Please sign in to comment.