fix condition

This commit is contained in:
idk
2022-01-16 14:37:05 -05:00
parent a5cd357e57
commit fcb41e9a64

View File

@ -7,7 +7,7 @@ func main() {
if err != nil {
panic(err)
}
if tbget.CheckSignature(bin, sig) {
if err := tbget.CheckSignature(bin, sig); err != nil {
} else {
panic("Signature check failed")
}