The effects of KCa3.1 inhibition on post-MI arrhythmias were assessed by intracardiac stimulation and ambulatory electrocardiograms in vivo. Here, KCNN4 is linked to myocardial infarction.