Added claim_id for v1 claim migration

This commit is contained in:
Mark Beamer Jr 2019-04-13 23:23:41 -04:00
parent 414540ec6d
commit bad2d869f5
No known key found for this signature in database
GPG key ID: 1C314FB89AD76973

View file

@ -126,6 +126,7 @@ func (c *ClaimHelper) LoadFromBytes(raw_claim []byte, blockchainName string) err
}
if legacy_claim_pb.GetPublisherSignature() != nil {
version = WithSig
claimID = legacy_claim_pb.GetPublisherSignature().GetCertificateId()
signature = legacy_claim_pb.GetPublisherSignature().GetSignature()
}
if legacy_claim_pb.GetCertificate() != nil {