As of #105 we set the nLockTime field to 0 as we currently don't track the current block height yet and neither BDK's wallet nor lightning-transaction-sync allow us to get information about currently synced chain tip. (We should add this capability upstream).
Currently we could call ChannelManager::current_best_block then follow the recommendation of setting nLockTime to current height.
As of #105 we set the
nLockTimefield to 0 as we currently don't track the current block height yet and neither BDK's wallet norlightning-transaction-syncallow us to get information about currently synced chain tip. (We should add this capability upstream).Currently we could call
ChannelManager::current_best_blockthen follow the recommendation of settingnLockTimeto current height.