Stop haphazardly passing InitFeatures
in message handlers
#1954
Labels
good first issue
Good for newcomers
InitFeatures
in message handlers
#1954
handle_{shutdown,open_channel,accept_channel}
etc methods all take anInitFeatures
parameter becauseChannelManager
needed it and it was the cheapest way to pass them through. We could pass them through on every message handler, but there's little reason to sinceChannelManager
caches the lastInitFeatures
in the peer state anyway, and it would clean up the interface to just remove it.The text was updated successfully, but these errors were encountered: