Skip to content

Commit 4e93246

Browse files
committed
Peer cli assist for client request/response processing
Signed-off-by: michael steiner <[email protected]>
1 parent c5a0db0 commit 4e93246

File tree

5 files changed

+390
-70
lines changed

5 files changed

+390
-70
lines changed

ecc/chaincode/ecc.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ func (t *EnclaveChaincode) endorse(stub shim.ChaincodeStubInterface) pb.Response
180180
return shim.Error(err.Error())
181181
}
182182

183-
return shim.Success(nil)
183+
return shim.Success([]byte("OK")) // make sure we have a non-empty return on success so we can distinguish success from failure in cli ...
184184
}
185185

186186
func ccParamsMatch(expected, actual *protos.CCParameters) bool {

0 commit comments

Comments
 (0)