Correction to: Nature Electronics https://doi.org/10.1038/s41928-022-00803-0, published online 8 August 2022.

In the version of this article initially published, in the oxidation process shown in Fig. 1b, the arrow at “2e” now pointing to “Modified electrode” was missing and has been restored to the HTML and PDF versions of the article.