Fix equal op in filecoin validation code
This commit is contained in:
parent
56b8f311f3
commit
1cc5657ed1
@ -176,7 +176,7 @@ func (ppp *PrePreparePool) IsValidPrePrepare(prePrepare *types2.Message) bool {
|
||||
}
|
||||
}
|
||||
|
||||
if msg.Type = ftypes.MessageTypeSecp256k1 {
|
||||
if msg.Type == ftypes.MessageTypeSecp256k1 {
|
||||
if err = sigs.Verify(msg.Signature, msg.Message.From.Bytes(), msg.Message.Cid().Bytes()); err != nil {
|
||||
logrus.Errorf("Couldn't verify transaction %v", err)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user