To UTC
This commit is contained in:
@@ -82,7 +82,7 @@ type nodeBehavior struct {
|
||||
}
|
||||
|
||||
func (nb *nodeBehavior) isBanned() bool {
|
||||
return time.Now().Before(nb.bannedUntil)
|
||||
return time.Now().UTC().Before(nb.bannedUntil)
|
||||
}
|
||||
|
||||
func (nb *nodeBehavior) strike(n int) {
|
||||
|
||||
Reference in New Issue
Block a user