Fix rapid rebalance total amount calculation

pull/47/head
rkfg 1 year ago
parent 41c49fcbab
commit 410566cb36

@ -373,7 +373,7 @@ func tryRapidRebalance(ctx context.Context, r *regolancer, from, to uint64,
hittingTheWall = true hittingTheWall = true
} else { } else {
result.successfulAttempts++ result.successfulAttempts++
result.successfulAmt += amt result.successfulAmt += amtLocal
result.paidFeeMsat += route.TotalFeesMsat result.paidFeeMsat += route.TotalFeesMsat
} }
} }

Loading…
Cancel
Save