return type of chaincode functions using EvaluateTransaction

Nikos Karamolegkos

As I can see this functions returns car which is type *Car after unmarshal. Given that the EvaluateTransaction returns bytes can I bypass unmarshal and return carAsBytes from QueryCar  (i.e return type []byte) to the client and let the client do whatever needs? (unmarshal or no).

I am asking because I have tried that and it hadn't worked.

Nikos Karamolegkos
R & D engineer at ICS-FORTH
Telecommunications and Networks Lab (TNL)

Join to automatically receive all group messages.