We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ee371f commit 38d72a7Copy full SHA for 38d72a7
grogu/signaller/signaller.go
@@ -290,7 +290,7 @@ func (h *Signaller) shouldUpdatePrice(
290
// add TimeBuffer to make sure the thresholdTime is not too early.
291
thresholdTime := time.Unix(valPrice.Timestamp+h.params.CooldownTime+TimeBuffer, 0)
292
293
- if thresholdTime.After(now) {
+ if now.Before(thresholdTime) {
294
return false
295
}
296
0 commit comments