Added claim_id for v1 claim migration
This commit is contained in:
parent
414540ec6d
commit
bad2d869f5
1 changed files with 1 additions and 0 deletions
|
@ -126,6 +126,7 @@ func (c *ClaimHelper) LoadFromBytes(raw_claim []byte, blockchainName string) err
|
||||||
}
|
}
|
||||||
if legacy_claim_pb.GetPublisherSignature() != nil {
|
if legacy_claim_pb.GetPublisherSignature() != nil {
|
||||||
version = WithSig
|
version = WithSig
|
||||||
|
claimID = legacy_claim_pb.GetPublisherSignature().GetCertificateId()
|
||||||
signature = legacy_claim_pb.GetPublisherSignature().GetSignature()
|
signature = legacy_claim_pb.GetPublisherSignature().GetSignature()
|
||||||
}
|
}
|
||||||
if legacy_claim_pb.GetCertificate() != nil {
|
if legacy_claim_pb.GetCertificate() != nil {
|
||||||
|
|
Loading…
Reference in a new issue