Merge pull request #723 from gzliudan/fix-s1006

core: fix staticcheck warning S1006: use for {} for infinite loops
This commit is contained in:
Daniel Liu 2024-10-31 19:36:14 +08:00 committed by GitHub
commit 003af00b25
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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