File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -20,15 +20,15 @@ var once sync.Once
20
20
type Processors map [common.HeaderType ]Processor
21
21
22
22
// 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
24
24
// the information into the form of `TxSimulationResults`. Because, the original information is signed in a
25
25
// 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.
27
27
type Processor interface {
28
28
GenerateSimulationResults (txEnvelop * common.Envelope , simulator ledger.TxSimulator ) error
29
29
}
30
30
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.
32
32
func Initialize (customTxProcessors Processors ) {
33
33
once .Do (func () {
34
34
initialize (customTxProcessors )
You can’t perform that action at this time.
0 commit comments