mirror of
https://github.com/mempool/mempool.git
synced 2025-02-22 14:22:44 +01:00
When using clightning, use listchannels.delay as cltv_delta
This commit is contained in:
parent
9047cb5998
commit
dac3a43c1b
1 changed files with 1 additions and 1 deletions
|
@ -124,7 +124,7 @@ async function buildIncompleteChannel(clChannel: any): Promise<ILightningApi.Cha
|
|||
*/
|
||||
function convertPolicy(clChannel: any): ILightningApi.RoutingPolicy {
|
||||
return {
|
||||
time_lock_delta: 0, // TODO
|
||||
time_lock_delta: clChannel.delay,
|
||||
min_htlc: clChannel.htlc_minimum_msat.slice(0, -4),
|
||||
max_htlc_msat: clChannel.htlc_maximum_msat.slice(0, -4),
|
||||
fee_base_msat: clChannel.base_fee_millisatoshi,
|
||||
|
|
Loading…
Add table
Reference in a new issue