1. An electronic device comprising:an insulating base mounted on a mounted portion;
a planar terminal provided so as to extend from an outer side surface to a bottom surface edge of the insulating base, and cause electrical continuity between the outer side surface and the bottom surface edge of the insulating base;
a cover fitted to the insulating base and covering the planar terminal; and
a sealant sealing a gap between the outer side surface of the insulating base and an inner circumferential surface of the cover,
wherein a solder pool is formed in a position surrounded by the mounted portion and the planar terminal at the bottom surface edge of the insulating base.