disable unsent tips check as we don't really use it now

wait a little bit longer on new blocks
This commit is contained in:
Niko Storni 2020-12-16 16:59:07 +01:00
parent 6a4093f3f8
commit 9397a40c9f
2 changed files with 5 additions and 4 deletions

View file

@ -294,6 +294,7 @@ func (s *Sync) waitForNewBlock() error {
return err return err
} }
} }
time.Sleep(5 * time.Second)
return nil return nil
} }

View file

@ -664,10 +664,10 @@ func (s *Sync) checkIntegrity() error {
logUtils.SendInfoToSlack("we're claiming to have published %d videos but we only published %d (%s)", pubsOnDB, pubsOnWallet, s.DbChannelData.ChannelId) logUtils.SendInfoToSlack("we're claiming to have published %d videos but we only published %d (%s)", pubsOnDB, pubsOnWallet, s.DbChannelData.ChannelId)
} }
_, err = s.getUnsentSupports() //TODO: use the returned value when it works //_, err = s.getUnsentSupports() //TODO: use the returned value when it works
if err != nil { //if err != nil {
return err // return err
} //}
return nil return nil
} }