File tree 2 files changed +5
-4
lines changed
2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -349,7 +349,7 @@ impl ConsumeUnverifiedBlockProcessor {
349
349
error ! ( "[verify block] notify new_uncle error {}" , e) ;
350
350
}
351
351
}
352
- Ok ( VerifiedBlockStatus :: FirstSeenButNotVerified )
352
+ Ok ( VerifiedBlockStatus :: UncleBlockNotVerified )
353
353
}
354
354
}
355
355
Original file line number Diff line number Diff line change @@ -34,11 +34,12 @@ pub type VerifyCallback = Box<dyn FnOnce(VerifyResult) + Send + Sync>;
34
34
/// VerifiedBlockStatus is
35
35
#[ derive( Debug , Clone , PartialEq ) ]
36
36
pub 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
38
38
FirstSeenAndVerified ,
39
39
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 ,
42
43
43
44
// The block has been verified before.
44
45
PreviouslySeenAndVerified ,
You can’t perform that action at this time.
0 commit comments