File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -349,7 +349,7 @@ impl ConsumeUnverifiedBlockProcessor {
349349 error ! ( "[verify block] notify new_uncle error {}" , e) ;
350350 }
351351 }
352- Ok ( VerifiedBlockStatus :: FirstSeenButNotVerified )
352+ Ok ( VerifiedBlockStatus :: UncleBlockNotVerified )
353353 }
354354 }
355355
Original file line number Diff line number Diff line change @@ -34,11 +34,12 @@ pub type VerifyCallback = Box<dyn FnOnce(VerifyResult) + Send + Sync>;
3434/// VerifiedBlockStatus is
3535#[ derive( Debug , Clone , PartialEq ) ]
3636pub enum VerifiedBlockStatus {
37- // The block is being seen for the first time.
37+ // The block is being seen for the first time, and VM have verified it
3838 FirstSeenAndVerified ,
3939
40- // The block is being seen for the first time, but not verify it yet
41- FirstSeenButNotVerified ,
40+ // The block is being seen for the first time
41+ // but VM have not verified it since its a uncle block
42+ UncleBlockNotVerified ,
4243
4344 // The block has been verified before.
4445 PreviouslySeenAndVerified ,
You can’t perform that action at this time.
0 commit comments