mirror of
https://github.com/accumulator/charge-lnd.git
synced 2026-08-13 12:33:01 +02:00
add ignore_fees strategy
This commit is contained in:
parent
de5fc6a87f
commit
efbb760465
1 changed files with 4 additions and 0 deletions
|
|
@ -64,6 +64,10 @@ class StrategyDelegate:
|
|||
def strategy_ignore(channel, policy, **kwargs):
|
||||
return (None, None, None, None, None)
|
||||
|
||||
@strategy(name = 'ignore_fees')
|
||||
def strategy_ignore_fees(channel, policy, **kwargs):
|
||||
return (None, None)
|
||||
|
||||
@strategy(name = 'static')
|
||||
def strategy_static(channel, policy, **kwargs):
|
||||
return (policy.getint('base_fee_msat'), policy.getint('fee_ppm'))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue