The Option<BlockRes> is always Some(..), except in unit testing, so it has too many degrees of freedom during normal operation. This PR turns it into a plain BlockRes, and adds a #[cfg(test)] helper function to make an empty BlockRes during unit tests.
The
Option<BlockRes>
is alwaysSome(..)
, except in unit testing, so it has too many degrees of freedom during normal operation. This PR turns it into a plainBlockRes
, and adds a#[cfg(test)]
helper function to make an emptyBlockRes
during unit tests.