code: function cleanBadSavedPrivatePayments(){
  	if (conf.bLight || bCatchingUp)
  		return;
  	db.query(
  		"SELECT DISTINCT unhandled_private_payments.unit FROM unhandled_private_payments LEFT JOIN units USING(unit) \n\
  		WHERE units.unit IS NULL AND unhandled_private_payments.creation_date<"+db.addTime('-1 DAY'),
  		function(rows){
  			rows.forEach(function(row){
  				breadcrumbs.add('deleting bad saved private payment '+row.unit);
  				db.query("DELETE FROM unhandled_private_payments WHERE unit=?", [row.unit]);
  			});
  		}
  	);
  	
  }
docs: full only