From b7154dd450c2b68a67f218cd25023b23203a47ba Mon Sep 17 00:00:00 2001 From: Daniel Liu Date: Thu, 31 Oct 2024 16:45:30 +0800 Subject: [PATCH] core: fix staticcheck warning S1006: use for {} for infinite loops --- core/lending_pool_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/lending_pool_test.go b/core/lending_pool_test.go index 76c50b4ca6..555c53ebc5 100644 --- a/core/lending_pool_test.go +++ b/core/lending_pool_test.go @@ -181,7 +181,7 @@ func TestSendLending(t *testing.T) { t.FailNow() } - for true { + for { // 10% interestRate := 10 * common.BaseLendingInterest.Uint64() // lendToken: USD, collateral: BTC