public void afterCompleted ( Event event ) { ChaincodeMessage message = messageHelper ( event ) ; logger . debug ( String . format ( "[%s]sending COMPLETED to validator for tid" , shortID ( message ) ) ) ; try { serialSend ( message ) ; } catch ( Exception e ) { event . cancel ( new Exception ( "send COMPLETED failed %s" , e ) ) ; } }
afterCompleted will need to handle COMPLETED event by sending message to the peer