use of org.hyperledger.fabric.protos.peer.FabricProposal.ChaincodeAction in project fabric-sdk-java by hyperledger.
the class ChaincodeActionDeserializer method getEvent.
ChaincodeEvent getEvent() {
ChaincodeAction ca = getChaincodeAction();
ByteString eventsBytes = ca.getEvents();
if (eventsBytes == null || eventsBytes.isEmpty()) {
return null;
}
return new ChaincodeEvent(eventsBytes);
}
Aggregations