Open dappelt opened 6 years ago
Instead of initializing the channel balance with 0, use paychan.balance. If an attacker gets the connector to somehow forget the cached channel details, the attacker could reuse an old channel with balance > 0.
paychan.balance
Instead of initializing the channel balance with 0, use
paychan.balance
. If an attacker gets the connector to somehow forget the cached channel details, the attacker could reuse an old channel with balance > 0.