-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature/lend refactor #349
Conversation
} | ||
balanceStats = append(balanceStats, balanceStat) | ||
depositStats = types.DepositStats{BalanceStats: balanceStats} | ||
userDepositStats = types.DepositStats{BalanceStats: balanceStats} |
Check warning
Code scanning / CodeQL
Useless assignment to local variable
balanceStats = append(balanceStats, balanceStat) | ||
depositStats = types.DepositStats{BalanceStats: balanceStats} | ||
userDepositStats = types.DepositStats{BalanceStats: balanceStats} | ||
ReserveDepositStats = types.DepositStats{BalanceStats: balanceStats} |
Check warning
Code scanning / CodeQL
Useless assignment to local variable
depositStats = types.DepositStats{BalanceStats: balanceStats} | ||
userDepositStats = types.DepositStats{BalanceStats: balanceStats} | ||
ReserveDepositStats = types.DepositStats{BalanceStats: balanceStats} | ||
BuyBackDepositStats = types.DepositStats{BalanceStats: balanceStats} |
Check warning
Code scanning / CodeQL
Useless assignment to local variable
userDepositStats = types.DepositStats{BalanceStats: balanceStats} | ||
ReserveDepositStats = types.DepositStats{BalanceStats: balanceStats} | ||
BuyBackDepositStats = types.DepositStats{BalanceStats: balanceStats} | ||
BorrowStats = types.DepositStats{BalanceStats: balanceStats} |
Check warning
Code scanning / CodeQL
Useless assignment to local variable
… into feature/lend_refactor
x/esm/abci.go
Outdated
esmMarket, found := k.GetESMMarketForAsset(ctx, v.Id) | ||
if found { | ||
return | ||
} | ||
esmStatus, found := k.GetESMStatus(ctx, v.Id) |
Check warning
Code scanning / CodeQL
Panic in BeginBock or EndBlock consensus methods
if err != nil { | ||
return | ||
} | ||
err = k.LiquidateBorrows(ctx) |
Check warning
Code scanning / CodeQL
Panic in BeginBock or EndBlock consensus methods
if err != nil { | ||
return | ||
} | ||
err = k.UpdateLockedBorrows(ctx) |
Check warning
Code scanning / CodeQL
Panic in BeginBock or EndBlock consensus methods
if err4 != nil { | ||
return | ||
} | ||
err5 := k.LendDutchActivator(ctx) |
Check warning
Code scanning / CodeQL
Panic in BeginBock or EndBlock consensus methods
if err5 != nil { | ||
return | ||
} | ||
err6 := k.RestartLendDutch(ctx) |
Check warning
Code scanning / CodeQL
Panic in BeginBock or EndBlock consensus methods
No description provided.