core: fix staticcheck warning S1006: use for {} for infinite loops

This commit is contained in:
Daniel Liu 2024-10-31 16:45:30 +08:00
parent 56a15b5844
commit b7154dd450

View file

@ -181,7 +181,7 @@ func TestSendLending(t *testing.T) {
t.FailNow()
}
for true {
for {
// 10%
interestRate := 10 * common.BaseLendingInterest.Uint64()
// lendToken: USD, collateral: BTC