rpc: verify address is for correct net
Verify that the addresses we're decoding when sending coins onchain are for the correct network. Without this check we'll convert the users addresses to their equivalent on other networks, which is a gross violation of the principle of least astonishment.
This commit is contained in:
1 parent
4ea24c0820
commit
681e3ceede
4 files changed
+31
-3
No files matched your search
@@ -72,6 +72,9 @@ package](https://github.com/lightningnetwork/lnd/pull/7356)
|
||||
`grpc.keepalive_time_ms=5100` is recommended on the client side (adding 100ms
|
||||
to account for slightly different clock speeds).
|
||||
|
||||
* [Fixed a bug where we didn't check for correct networks when submitting
|
||||
onchain transactions](https://github.com/lightningnetwork/lnd/pull/6448).
|
||||
|
||||
## Misc
|
||||
|
||||
* [Generate default macaroons
|
||||
|
||||
Reference in new issue
Block a user