Remove use of Option<BlockHeight>
as a query for blocks
#2005
Labels
good first issue
Good for newcomers
Option<BlockHeight>
as a query for blocks
#2005
There are a number of places we use
Option<BlockHeight>
to represent the block, whereNone
is the genesis block. This is confusing, as it's implicit whatNone
means without looking at the code.Instead, we should introduce some type with the same cardinality, but with explicit names:
something like
The text was updated successfully, but these errors were encountered: