(format string, args ...interface{})
| 10 | ) |
| 11 | |
| 12 | func errOracleResponse(format string, args ...interface{}) *pb.OracleResponse { |
| 13 | return &pb.OracleResponse{Success: false, Msg: fmt.Sprintf(format, args...)} |
| 14 | } |
| 15 | |
| 16 | // NumOracles returns the number of oracles currently loaded by the service. |
| 17 | func (s *Service) NumOracles() int { |
no outgoing calls