decentralized-identity / sidetree-reference-impl

Sidetree Reference Implementation
Apache License 2.0
5 stars 7 forks source link

Make OperationProcessor.applyXyxOperation() return `undefined` when unable to apply an operation #6

Open thehenrytsai opened 2 years ago

thehenrytsai commented 2 years ago

Making the failure explicit is better than the current approach of inferring failure based on transaction number, it will also be more consistent with the pattern used downstream.