Skip to content

Commit f3610b6

Browse files
authored
Merge pull request #1273 from hyperledger/backport-1175
Include signing key in batch processor identifier
2 parents 0b1777a + 7cf8c67 commit f3610b6

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)