Skip to content

Commit ff8337b

Browse files
committed
Update CollectionGuarantee hashing
1 parent 44a6fae commit ff8337b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

state/convert.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -437,13 +437,13 @@ func deriveCollectionGuaranteeID(spork *config.Spork, guarantee *entities.Collec
437437
return flow.MakeID(struct {
438438
CollectionID flow.Identifier
439439
ReferenceBlockID flow.Identifier
440-
ChainID flow.ChainID
440+
ClusterChainID flow.ChainID
441441
SignerIndices []byte
442442
Signature crypto.Signature
443443
}{
444444
CollectionID: toFlowIdentifier(guarantee.CollectionId),
445445
ReferenceBlockID: toFlowIdentifier(guarantee.ReferenceBlockId),
446-
ChainID: flow.ChainID(""), // TODO update Access API
446+
ClusterChainID: flow.ChainID(guarantee.ClusterChainId),
447447
SignerIndices: guarantee.SignerIndices,
448448
Signature: guarantee.Signature,
449449
})

0 commit comments

Comments
 (0)