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