Store account EPOCH session and stop EPOCH
()
| 4518 | |
| 4519 | // Store account EPOCH session and stop EPOCH |
| 4520 | func stopEPOCH() { |
| 4521 | if cyberdeck.EPOCH.enabled { |
| 4522 | storeEPOCHTotal(time.Second * 4) |
| 4523 | } |
| 4524 | |
| 4525 | epoch.StopGetWork() |
| 4526 | cyberdeck.EPOCH.enabled = false |
| 4527 | cyberdeck.EPOCH.allowWithAddress = false |
| 4528 | } |
| 4529 | |
| 4530 | // Check if value exists within a string array/slice |
| 4531 | func scidExist(s []string, str string) bool { |
no test coverage detected