fix DecodeSigBitmap (#3949)

pull/3974/head
zhiqiangxu 3 years ago committed by GitHub
parent 3e5c0e035e
commit 7e3d507f1e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      internal/chain/sig.go

@ -47,6 +47,7 @@ func DecodeSigBitmap(sigBytes bls.SerializedSignature, bitmap []byte, pubKeys []
}
if err := mask.SetMask(bitmap); err != nil {
utils.Logger().Warn().Err(err).Msg("mask.SetMask failed")
return nil, nil, errors.New("mask.SetMask failed")
}
return &aggSig, mask, nil
}

Loading…
Cancel
Save