|
@ -584,6 +584,7 @@ func VerifyAndDetect (lightStore LightStore, targetHeight Height) |
|
|
} |
|
|
} |
|
|
else { |
|
|
else { |
|
|
// there is an attack, we exit |
|
|
// there is an attack, we exit |
|
|
|
|
|
submitEvidence(Evidences); |
|
|
return(lightStore, ErrorAttack); |
|
|
return(lightStore, ErrorAttack); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|