Fix do_accounting, safe adjust maxRange

This commit is contained in:
Reckless_Satoshi 2022-03-22 12:45:44 -07:00
parent 8ae2406275
commit ffee6f4b56
No known key found for this signature in database
GPG Key ID: 9C4585B561315571
3 changed files with 3 additions and 3 deletions

View File

@ -84,7 +84,7 @@ def do_accounting():
accounted_day.net_settled = escrows_settled + collected_slashed_bonds
accounted_day.net_paid = payouts_paid + routing_cost
accounted_day.net_balance = accounted_day.net_settled - accounted_day.net_paid
accounted_day.net_balance = (escrows_settled + collected_slashed_bonds) - (payouts_paid + routing_cost)
# Differential accounting based on change of outstanding states and disputes unreslved
if day == today:

View File

@ -43,7 +43,7 @@ export default class MakerPage extends Component {
minTradeSats = 20000;
maxTradeSats = 800000;
maxBondlessSats = 50000;
maxRangeAmountMultiple = 4.9;
maxRangeAmountMultiple = 4.8;
minRangeAmountMultiple = 1.6;
constructor(props) {

File diff suppressed because one or more lines are too long