Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: validateState does not detect different state versions
It was comparing state.GetVersion() against state.Version, which is the same, instead of against, mapstate.Version, which is the constant for the current Version. It was also returning a nil error, as the scope of the variable assigned was not that of the outer level. License: MIT Signed-off-by: Hector Sanjuan <code@hector.link>
- Loading branch information