From 8a1c4b26e9291ff80c11162ed167645cbe486250 Mon Sep 17 00:00:00 2001 From: shoaebjindani <40020259+shoaebjindani@users.noreply.github.com> Date: Tue, 28 May 2024 09:57:26 +0530 Subject: [PATCH] Fixed HSM Library Upgrade Path for 2.5.x Scenario (#195) Signed-off-by: Shoaeb Jindani Co-authored-by: Shoaeb Jindani --- pkg/offering/base/orderer/node.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkg/offering/base/orderer/node.go b/pkg/offering/base/orderer/node.go index 6c815e5d..4bcc91d1 100644 --- a/pkg/offering/base/orderer/node.go +++ b/pkg/offering/base/orderer/node.go @@ -1574,6 +1574,9 @@ func (n *Node) FabricOrdererMigrationV2_5(instance *current.IBPOrderer) error { return err } + initOrderer.UsingHSMProxy = instance.UsingHSMProxy() + + ordererConfig, err := v25ordererconfig.ReadOrdererFile(n.Config.OrdererInitConfig.OrdererV25File) if err != nil { return errors.Wrap(err, "failed to read v2.5.x default config file")