IBM-Blockchain-Archive / car-lease-demo

A demonstration using IBM Blockchain to show how the lifecycle of vehicles can be recorded on a blockchain
Other
170 stars 304 forks source link

Getting error: Error retrieving caller information! #121

Open mna2016 opened 7 years ago

mna2016 commented 7 years ago

The following code is returning error. I have tried replacing the ceritificate files with the latest one from root reposiroty but continues to fail.

caller, caller_affiliation, err := t.get_caller_data(stub)

    if err != nil { return nil, errors.New("Error retrieving caller information")}

How to fix this problem to have proper caller and affiliation check in the vehicles.go contract? Appreciate an early response.