remove dead code

This commit is contained in:
whyrusleeping 2019-12-02 15:24:46 -08:00
parent adcda68d62
commit 96f17d4408

View File

@ -612,16 +612,3 @@ func ComputeVRF(ctx context.Context, sign SignFunc, worker, miner address.Addres
return sig.Data, nil
}
func TicketHash(t *types.Ticket, addr address.Address) []byte {
h := sha256.New()
h.Write(t.VRFProof)
// Field Delimeter
h.Write([]byte{0})
h.Write(addr.Bytes())
return h.Sum(nil)
}