mirror of
https://github.com/Reckless-Satoshi/robosats.git
synced 2024-09-11 19:57:11 +03:00
Fix do_accounting, safe adjust maxRange
This commit is contained in:
parent
8ae2406275
commit
ffee6f4b56
@ -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:
|
||||
|
@ -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
Loading…
Reference in New Issue
Block a user