Fabio Panetta said that in the next 24 months, the ECB will examine how it can make the euro's digital version a legal tender.