Better dupe detection (#13992)

This commit is contained in:
sakridge
2020-12-09 23:14:31 -08:00
committed by GitHub
parent 8d1651c8ad
commit c5fe076432
6 changed files with 380 additions and 114 deletions

View File

@@ -26,4 +26,7 @@ pub enum BlockError {
/// that each block has the same number of hashes
#[error("trailing entry")]
TrailingEntry,
#[error("duplicate block")]
DuplicateBlock,
}