Skip to content

Commit

Permalink
bump ibc
Browse files Browse the repository at this point in the history
  • Loading branch information
asalzmann committed Jul 2, 2022
1 parent e39f914 commit 815ae46
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ require (
github.com/DataDog/zstd v1.4.8 // indirect
github.com/cosmos/cosmos-proto v1.0.0-alpha7
github.com/cosmos/cosmos-sdk v0.45.4
github.com/cosmos/ibc-go/v3 v3.0.0
github.com/cosmos/ibc-go/v3 v3.1.0
github.com/dgraph-io/badger/v2 v2.2007.3 // indirect
github.com/dgraph-io/ristretto v0.1.0 // indirect
github.com/gogo/protobuf v1.3.3
Expand Down
5 changes: 1 addition & 4 deletions x/stakeibc/keeper/hooks.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,7 @@ func (k Keeper) BeforeEpochStart(ctx sdk.Context, epochIdentifier string, epochN
// Create a new deposit record for each host zone for the upcoming epoch
k.CreateDepositRecordsForEpoch(ctx, epochNumber)

// TODO bring out as a parameter
if epochNumber%30 == 0 {
k.SetWithdrawalAddress(ctx)
}
k.SetWithdrawalAddress(ctx)

depositRecords := k.RecordsKeeper.GetAllDepositRecord(ctx)

Expand Down

0 comments on commit 815ae46

Please sign in to comment.