mirror of
https://github.com/getAlby/hub.git
synced 2026-08-13 12:33:39 +02:00
chore: bump rebalance fees to ensure payment succeeds (#2470)
This commit is contained in:
parent
ce46a0f8a0
commit
32af89bc8c
2 changed files with 2 additions and 2 deletions
|
|
@ -122,7 +122,7 @@ func (api *api) RebalanceChannel(ctx context.Context, rebalanceChannelRequest *R
|
|||
return nil, err
|
||||
}
|
||||
|
||||
if paymentRequest.MSatoshi > int64(float64(amountSat)*float64(1000)*float64(1.003)+1 /*0.3% fees*/) {
|
||||
if paymentRequest.MSatoshi > int64(float64(amountSat)*float64(1000)*float64(1.005)+1 /*0.5% fees*/) {
|
||||
return nil, errors.New("rebalance payment is more expensive than expected")
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue