Skip to content

Commit 9c4e2e5

Browse files
Yurist-85kioqq
authored andcommitted
test: fix test utils for staking
1 parent 189ab3e commit 9c4e2e5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

x/staking/keeper/util_test.go

+1-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ package keeper_test
22

33
import (
44
"errors"
5-
"time"
65

76
sdk "github.com/cosmos/cosmos-sdk/types"
87

@@ -34,7 +33,7 @@ func setupClawbackVestingAccount(ctx sdk.Context, nw *network.UnitTestNetwork, v
3433
msgConv := types.NewMsgConvertIntoVestingAccount(
3534
funderAcc,
3635
vestingAcc,
37-
time.Now(),
36+
ctx.BlockTime(),
3837
testutil.TestVestingSchedule.LockupPeriods,
3938
testutil.TestVestingSchedule.VestingPeriods,
4039
true, false, nil,

0 commit comments

Comments
 (0)