fix node sync interval

This commit is contained in:
mykola2312 2025-01-29 08:42:00 +02:00
parent f5c7956c94
commit 88aad95cfb

View file

@ -241,7 +241,7 @@ func nodeMain() {
stopChan := make(chan struct{}) stopChan := make(chan struct{})
if config.Sync != 0 { if config.Sync != 0 {
ticker := time.NewTicker(time.Duration(config.Sync) * time.Second) ticker := time.NewTicker(time.Duration(config.Sync) * time.Minute)
go func() { go func() {
for { for {