Skip to content

Commit 350a9c9

Browse files
committed
[FAB-6082] Typo fix in custom_tx_processor
Fix misspelling in core/ledger/customtx/custom_tx_processor.go Change-Id: I9445d3feb433657a8fc15850e394f889aab906fc Signed-off-by: Boliang Chen <cblsjtu@gmail.com>
1 parent e840f1b commit 350a9c9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

core/ledger/customtx/custom_tx_processor.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,15 @@ var once sync.Once
2020
type Processors map[common.HeaderType]Processor
2121

2222
// Processor allows to generate simulation results during commit time for custom transactions.
23-
// A custom may repersent the information in a propriety fashion and can use this process to translate
23+
// A custom processor may represent the information in a propriety fashion and can use this process to translate
2424
// the information into the form of `TxSimulationResults`. Because, the original information is signed in a
2525
// custom representation, an implementation of a `Processor` should be cautious that the custom representation
26-
// is used for simution in an deterministic fashion and should take care of comaptibility cross fabric versions
26+
// is used for simulation in an deterministic fashion and should take care of compatibility cross fabric versions.
2727
type Processor interface {
2828
GenerateSimulationResults(txEnvelop *common.Envelope, simulator ledger.TxSimulator) error
2929
}
3030

31-
// Initialize sets the custom processors. This function is expected to be invoked only during ledgermgmt.Initialize
31+
// Initialize sets the custom processors. This function is expected to be invoked only during ledgermgmt.Initialize() function.
3232
func Initialize(customTxProcessors Processors) {
3333
once.Do(func() {
3434
initialize(customTxProcessors)

0 commit comments

Comments
 (0)