Skip to content

Commit df113f8

Browse files
f doh
1 parent 85eada6 commit df113f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lightning/src/offers/async_receive_offer_cache.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ impl AsyncReceiveOfferCache {
136136
let elapsed = duration_since_epoch.saturating_sub(offer_created_at).as_secs();
137137

138138
// If an offer is in the last 10% of its lifespan, it's expiring soon.
139-
elapsed.saturating_mul(10) >= offer_lifespan.saturating_mul(9)
139+
elapsed.saturating_mul(10) < offer_lifespan.saturating_mul(9)
140140
})
141141
.count();
142142

0 commit comments

Comments
 (0)