Substra / hlf-k8s

Initializes an Hyperledger Fabric network (orchestrator distributed mode)
https://docs.substra.org
Apache License 2.0
31 stars 20 forks source link

[chaincode-operator] fix multi approval #116

Closed mblottiere closed 3 years ago

mblottiere commented 3 years ago

Due to way conditions were written, there was an approval issued on each iteration (approximately every 10s). This was generating a new transaction each time, increasing block height although there was no real chaincode usage.

With these changes, the loop body is only executed when the condition is met.

AurelienGasser commented 3 years ago

LGTM :+1: