mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-06-26 00:31:32 +02:00
This commit adds a default case to the address type switch statement in the NewAddress rpc server function. This catches any invalid address types and returns an error.