-
Jason Yellick authored
Presently, a reference to the chaincode support is carried to the inproccontroller as a value on the context, which is a really odd/wrong thing to do. This CR makes the dependency explicit by adding it as a member of the inproccontroller structs, setting it as soon as the chaincode support is available. Ideally, the creation of the inproccontroller would be atomic, but, such are our wiring woes, that the chaincode support can only be set after the initial construction. Change-Id: Icbc7408d39e2042e585daf26ac52b30956fd80c3 Signed-off-by:
Jason Yellick <jyellick@us.ibm.com>
Jason Yellick authoredPresently, a reference to the chaincode support is carried to the inproccontroller as a value on the context, which is a really odd/wrong thing to do. This CR makes the dependency explicit by adding it as a member of the inproccontroller structs, setting it as soon as the chaincode support is available. Ideally, the creation of the inproccontroller would be atomic, but, such are our wiring woes, that the chaincode support can only be set after the initial construction. Change-Id: Icbc7408d39e2042e585daf26ac52b30956fd80c3 Signed-off-by:
Jason Yellick <jyellick@us.ibm.com>
Loading