()
| 151 | } |
| 152 | |
| 153 | function onClockBackFast() { |
| 154 | if(clock < 10) return; |
| 155 | |
| 156 | if(clock < lastClock()) setClock(clock - 10); |
| 157 | let result = shaStepped(input, firstLoop(clock - 11), secondLoop(clock - 11), chunksLoop(clock - 11 )); |
| 158 | |
| 159 | setWView(result.w); |
| 160 | setResult(result.hash); |
| 161 | setLetters(result.letters); |
| 162 | setLettersBefore(result.lettersBefore); |
| 163 | setHs(result.hs); |
| 164 | setHsBefore(result.hsBefore); |
| 165 | |
| 166 | ReactGA.event('onClockBackFast'); |
| 167 | } |
| 168 | |
| 169 | function onClockBack() { |
| 170 | if(clock === 0) return; |
nothing calls this directly
no test coverage detected