Fix #255 distance reading discarded state
Compare changes
+ 19
− 12
@@ -40,21 +40,24 @@ where
@@ -68,10 +71,14 @@ where
pallet-distance
issue where CurrentPoolIndex
was unset during the first evaluation period, which would cause errors if the inherent_data_provider
was correctly implemented.expect
calls from the implementation. Errors will now propagate using the inherent_data_provider
error mechanism without crashing the node or being shadowed by default values.