Skip to content

Commit

Permalink
Revert a couple more ?->unwrap() changes
Browse files Browse the repository at this point in the history
  • Loading branch information
who-biz committed Dec 20, 2023
1 parent e096631 commit d676903
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions impls/src/backends/lmdb.rs
Original file line number Diff line number Diff line change
Expand Up @@ -588,8 +588,7 @@ where
.borrow()
.as_ref()
.unwrap()
.put_ser(&key, Serializable::OutputData(out))
.unwrap();
.put_ser(&key, Serializable::OutputData(out))?;
}

Ok(())
Expand Down Expand Up @@ -817,8 +816,7 @@ where
.borrow()
.as_ref()
.unwrap()
.put_ser(&tx_log_key, Serializable::TxLogEntry(tx_in))
.unwrap();
.put_ser(&tx_log_key, Serializable::TxLogEntry(tx_in))?;
Ok(())
}

Expand Down

0 comments on commit d676903

Please sign in to comment.