Skip to content

Commit

Permalink
fix: nil pointer when doing ibc method in endblock
Browse files Browse the repository at this point in the history
  • Loading branch information
j75689 committed Dec 13, 2023
1 parent 36e6bdf commit 8a93de9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions x/ibc/keeper.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ func NewKeeper(storeKey sdk.StoreKey, paramSpace param.Subspace, codespace sdk.C
}
}

func (k *Keeper) SetSideChainKeeper(sidechainKeeper sidechain.Keeper) {
k.sideKeeper = sidechainKeeper
}

func (k *Keeper) CreateIBCSyncPackage(ctx sdk.Context, destChainName string, channelName string, packageLoad []byte) (uint64, sdk.Error) {
relayerFee, err := k.GetRelayerFeeParam(ctx, destChainName)
if err != nil {
Expand Down

0 comments on commit 8a93de9

Please sign in to comment.