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:
parent
6a4093f3f8
commit
9397a40c9f
2 changed files with 5 additions and 4 deletions
|
@ -294,6 +294,7 @@ func (s *Sync) waitForNewBlock() error {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
time.Sleep(5 * time.Second)
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue