public CCommentPacket(String fee_adr, String adr, String parent_type, long parentID, String mes) throws Exception { // Super class super("ID_TWEET_COMMENT_PACKET"); // Builds the payload class CCommentPayload dec_payload = new CCommentPayload(adr, parent_type, parentID, mes); // Build the payload this.payload = UTILS.SERIAL.serialize(dec_payload); // Network fee fee = new CFeePayload(fee_adr, 0.0001); // Sign packet this.sign(); }