Skip to content

Commit

Permalink
Return when verify signature failed
Browse files Browse the repository at this point in the history
  • Loading branch information
iketheadore committed Jul 8, 2017
1 parent ced58e8 commit 1375dd8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/visor/visor.go
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,7 @@ func (vs *Visor) Run(q chan struct{}) {
if err := vs.Blockchain.VerifySigs(vs.Config.BlockchainPubkey, vs.blockSigs); err != nil {
logger.Error("Invalid block signatures: %v", err)
close(q)
return
}
logger.Info("Signature verify success")
}()
Expand Down

0 comments on commit 1375dd8

Please sign in to comment.