Evidence for proton shuffling in a thioredoxin-like protein during catalysis