Skip to content

Commit adc4f33

Browse files
authored
Merge pull request #1175 from kaleido-io/key
Include signing key in batch processor identifier
2 parents 47bcd52 + a3c7255 commit adc4f33

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

internal/batch/batch_manager.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright © 2022 Kaleido, Inc.
1+
// Copyright © 2023 Kaleido, Inc.
22
//
33
// SPDX-License-Identifier: Apache-2.0
44
//
@@ -135,7 +135,7 @@ type dispatcher struct {
135135
}
136136

137137
func (bm *batchManager) getProcessorKey(identity *core.SignerRef, groupID *fftypes.Bytes32) string {
138-
return fmt.Sprintf("%s|%v", identity.Author, groupID)
138+
return fmt.Sprintf("%s|%s|%v", identity.Author, identity.Key, groupID)
139139
}
140140

141141
func (bm *batchManager) getDispatcherKey(txType core.TransactionType, msgType core.MessageType) string {

0 commit comments

Comments
 (0)