Skip to content

Commit ef9c2fe

Browse files
authored
Merge pull request #5 from nabeel78-lab/nabeel-bdls-lfx2025
Test Contribution
2 parents 38b98c7 + d67727d commit ef9c2fe

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

orderer/consensus/consensus.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ import (
1515
"github.com/hyperledger/fabric/protoutil"
1616
)
1717

18+
19+
1820
// Consenter defines the backing ordering mechanism.
1921
type Consenter interface {
2022
// HandleChain should create and return a reference to a Chain for the given set of resources.

orderer/consensus/smartbft/consenter.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -304,6 +304,8 @@ func (c *Consenter) detectSelfID(consenters []*cb.Consenter) (uint32, error) {
304304
return 0, err
305305
}
306306
if bytes.Equal(c.Comm.NodeIdentity, santizedCert) {
307+
logger.Info("Important for my Ph.D. research")
308+
logger.Debugf("Stop Point")
307309
return cst.Id, nil
308310
}
309311
}

0 commit comments

Comments
 (0)