VerifyConsensusFault should return an error if no fault is found
This commit is contained in:
parent
e7aec53631
commit
ad980b4966
@ -146,7 +146,7 @@ func (ss *syscallShim) VerifyConsensusFault(a, b, extra []byte) (*runtime.Consen
|
||||
|
||||
// (3) return if no consensus fault by now
|
||||
if consensusFault == nil {
|
||||
return consensusFault, nil
|
||||
return nil, xerrors.Errorf("no consensus fault detected")
|
||||
}
|
||||
|
||||
// else
|
||||
|
Loading…
Reference in New Issue
Block a user