emschwartz / ilp3

An implementation of Interledger V3
5 stars 3 forks source link

[XRP] Don't initialize the channel balance with 0 #20

Open dappelt opened 6 years ago

dappelt commented 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.