A catheter with an electrode assembly has a functional electrode located at a first position on the electrode assembly and a shunting electrode located proximal to the first position. Irrigation fluid carried by the catheter may be electrically coupled with a patient's blood through the shunting electrode. The shunting electrode may be used to reduce noise in an electrocardiogram signal that results from the pump used to supply the irrigation fluid.