diff --git a/packages/caliper-core/lib/worker/rate-control/compositeRate.js b/packages/caliper-core/lib/worker/rate-control/compositeRate.js index c8255df2d..52d739b9d 100644 --- a/packages/caliper-core/lib/worker/rate-control/compositeRate.js +++ b/packages/caliper-core/lib/worker/rate-control/compositeRate.js @@ -73,14 +73,8 @@ class CompositeRateController extends RateInterface{ * @private */ _prepareControllers() { - // console.log('Options: ', this.options); - // console.log('testMessage: ', this.testMessage); - let weights = this.testMessage.content.weights; - let rateControllers = this.testMessage.content.rateControllers; - // console.log('weights:', weights); - // console.log('rateControllers:', rateControllers); - // let weights = this.options.weights; - // let rateControllers = this.options.rateControllers; + let weights = this.options.weights; + let rateControllers = this.options.rateControllers; if (!Array.isArray(weights) || !Array.isArray(rateControllers)) { let msg = 'Weight and controller definitions must be arrays.';