In which situations will the undoAsset function be triggered?

I’ll start of with a question :wink:

In which situations will the undoAsset function be triggered in a custom transaction?

1 Like

When a fork happened and a rollback in blocks is triggered the undoAsset function should revert the changes from applyAsset.

https://lisk.io/documentation/lisk-sdk/tutorials/transport2.html#_explanation_undoassetstore

4 Likes

Thanks for the link!