add the missing mut

This commit is contained in:
Christof Petig 2021-03-28 00:13:10 +01:00
parent 0937761f21
commit 224585c562

View File

@ -568,7 +568,7 @@ fn trade_at_site(
break;
}
}
let paid_amount = allocated_amount - balance / *price;
let mut paid_amount = allocated_amount - balance / *price;
if paid_amount / allocated_amount < 0.95 {
debug!(
"Client {} is broke on {:?} : {} {} severity {}",