Skip to content

Commit

Permalink
Update x/superfluid/keeper/stake_test.go
Browse files Browse the repository at this point in the history
Co-authored-by: Matt, Park <45252226+mattverse@users.noreply.github.com>
  • Loading branch information
antstalepresh and mattverse authored Mar 8, 2022
1 parent a594d4e commit d911b90
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions x/superfluid/keeper/stake_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ func (suite *KeeperTestSuite) SetupSuperfluidDelegations(delAddrs []sdk.AccAddre
delAddr := delAddrs[del.delIndex]
valAddr := valAddrs[del.valIndex]
lock := suite.SetupSuperfluidDelegate(delAddr, valAddr, denoms[del.lpIndex], del.lpAmount)
expAcc := types.NewSuperfluidIntermediaryAccount(lock.Coins[0].Denom, valAddr.String(), 0)
gotAcc := suite.App.SuperfluidKeeper.GetIntermediaryAccount(suite.Ctx, expAcc.GetAccAddress())
address := suite.App.SuperfluidKeeper.GetLockIdIntermediaryAccountConnection(suite.Ctx, lock.ID)
gotAcc := suite.App.SuperfluidKeeper.GetIntermediaryAccount(suite.Ctx, address)

// save accounts for future use
if flagIntermediaryAcc[gotAcc.String()] == false {
Expand Down

0 comments on commit d911b90

Please sign in to comment.