mirror of https://github.com/lightninglabs/loop
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
8d7a272fdd
This commit fixes a possible exploit by the loop server, where - in a loop out - the server could claim money off-chain, without publishing an on-chain swap htlc. The server could do this by responding with a regular invoice, whose hash is different than the hash in the NewLoopOutSwap request. To prevent the exploit, we validate that the hash of the swap invoice is equal to the hash the client generated. |
5 years ago | |
---|---|---|
.. | ||
fees.go | 5 years ago | |
htlc.go | 5 years ago | |
keychain.go | 6 years ago | |
net.go | 6 years ago | |
tx.go | 6 years ago |