Remove exit discount
Shouldn't be needed anymore
@@ -325,12 +325,9 @@ pub fn watch<T: Read + Write>(
let mut traffic_vec = Vec::new();
for (from, amount) in debts {
- // Provides a 10% discount to encourage convergence
- let discounted_amount = ((amount as f64) * 0.95) as i128;
- trace!("discounted {} to {}", amount, discounted_amount);
traffic_vec.push(Traffic {
from: from,
- amount: discounted_amount.into(),
+ amount: amount.into(),
})
}
let update = debt_keeper::TrafficUpdate {
