pub fn check_prev_action(action: &Action) -> SysValidationResult<()>
Expand description

Check that the correct actions have the correct setting for prev_action:

  • Dna can never have a prev_action, and must have seq == 0.
  • All other actions must have prev_action, and seq > 0.