(err error)
| 165 | } |
| 166 | |
| 167 | func (sp *SmartPool) shouldStop(err error) bool { |
| 168 | if err == nil { |
| 169 | return false |
| 170 | } |
| 171 | if err.Error() == "timeout error" { |
| 172 | smartpool.Output.Printf("The tx might not be verified. Current claim is dropped. Continue with next claim.\n") |
| 173 | return false |
| 174 | } else if sp.HotStop { |
| 175 | return true |
| 176 | } else { |
| 177 | return false |
| 178 | } |
| 179 | } |
| 180 | |
| 181 | func (sp *SmartPool) actOnTick() { |
| 182 | defer func() { |