Molecular dynamics and functional studies define crystal contacts essential for PcTx1 inhibition of acid-sensing ion channel 1a.