dusk-network / microkelvin

Mozilla Public License 2.0
16 stars 6 forks source link

Link's compound function throw an error if `persistence` is not enabled #68

Closed ZER0 closed 3 years ago

ZER0 commented 3 years ago

The Link's compund function, throw an error if LinkInner::Ia enum is used.

However, the decode always returns a LinkInner::Ia enum, no matter the feature set.

This make microkelvin impossible to use under wasm32 target, where persistence cannot (and shouldn't) be enabled.