Merge pull request #2289 from filecoin-project/asr/consensus-fault
VerifyConsensusFault should return an error if no fault is found
This commit is contained in:
commit
4ad57fe2d5
@ -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