pub fn revoke_record_by_id(&self, id: Id) {
        self.db.take(|db| {
            let (to_write, to_delete) = db.writer(self.id).revoke(id).expect(line_error!());

            send_until_success(CRequest::Write(to_write));
            send_until_success(CRequest::Delete(to_delete));
        });
    }
// create a revoke transaction in the chain.
create a revoke transaction in the chain.
create a revoke transaction in the chain .
pub fn revoke_record_by_id(&self, id: Id) {
        self.db.take(|db| {
            let (to_write, to_delete) = db.writer(self.id).revoke(id).expect(line_error!());
            send_until_success(CRequest::Write(to_write));
            send_until_success(CRequest::Delete(to_delete));
        });
    }
pub fn revoke_record_by_id ( & self , id : Id ) { self . db . take ( | db | { let ( to_write , to_delete ) = db . writer ( self . id ) . revoke ( id ) . expect ( line_error ! ( ) ) ; send_until_success ( CRequest :: Write ( to_write ) ) ; send_until_success ( CRequest :: Delete ( to_delete ) ) ; } ) ; }
create a revoke transaction in the chain.
create a revoke transaction in the chain .
&self
id
Id