Duties of the board of canvassers