code: func (v *txValidator) sendResult(result error) {
  	select {
  	case v.resultChan <- result:
  	case <-v.quitChan:
  	}
  }
docs: // sendResult sends the result of a script pair validation on the internal
  // result channel while respecting the quit channel.  This allows orderly
  // shutdown when the validation process is aborted early due to a validation
  // error in one of the other goroutines.