You can merge vertices or edges. Either should work. Both are in the edit polygons menu. Check the option box for merger vertices for tolerance settings.