message: [safety-rules] fix ordering
  Closes:
  Approved by: aching
diff: @@ -125,6 +125,22 @@ impl PersistentSafetyStorage {
  Ok(())
  }
  + pub fn last_vote(&self) -> Result<Option<Vote>> {
  + let result = lcs::from_bytes(
  + &self
  + .internal_store
  + .get(LAST_VOTE)
  + .and_then(|r| r.value.bytes())?,
  + )?;
  + Ok(result)
  + }
  +
  + pub fn set_last_vote(&mut self, vote: Option<Vote>) -> Result<()> {
  + self.internal_store
  + .set(LAST_VOTE, Value::Bytes(lcs::to_bytes(&vote)?))?;
  + Ok(())
  + }
  +
  pub fn last_voted_round(&self) -> Result<Round> {
  Ok(self
  .internal_store
  @@ -178,22 +194,6 @@ impl PersistentSafetyStorage {
  Ok(())
  }
  - pub fn last_vote(&self) -> Result<Option<Vote>> {
  - let result = lcs::from_bytes(
  - &self
  - .internal_store
  - .get(LAST_VOTE)
  - .and_then(|r| r.value.bytes())?,
  - )?;
  - Ok(result)
  - }
  -
  - pub fn set_last_vote(&mut self, vote: Option<Vote>) -> Result<()> {
  - self.internal_store
  - .set(LAST_VOTE, Value::Bytes(lcs::to_bytes(&vote)?))?;
  - Ok(())
  - }
  -
  #[cfg(any(test, feature = "testing"))]
  pub fn internal_store(&mut self) -> &mut Storage {
  &mut self.internal_store
  