From e8da2fa0bdb0f8548b2381eb7531ba7364869aa0 Mon Sep 17 00:00:00 2001 From: Elle Mouton Date: Mon, 5 Aug 2024 11:35:52 +0200 Subject: [PATCH] lnrpc/gen_protos: remove manual_imports With the updated falafel version, there is no longer a need to specify manual imports. --- lnrpc/gen_protos.sh | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/lnrpc/gen_protos.sh b/lnrpc/gen_protos.sh index 9919c11b5..ef61249a1 100755 --- a/lnrpc/gen_protos.sh +++ b/lnrpc/gen_protos.sh @@ -50,18 +50,7 @@ function generate() { PACKAGES="autopilotrpc chainrpc invoicesrpc neutrinorpc peersrpc routerrpc signrpc verrpc walletrpc watchtowerrpc wtclientrpc devrpc" for package in $PACKAGES; do - # Special import for the wallet kit. - manual_import="" - if [[ "$package" == "walletrpc" ]]; then - manual_import="github.com/lightningnetwork/lnd/lnrpc/signrpc" - fi - - # Special import for devrpc. - if [[ "$package" == "devrpc" ]]; then - manual_import="github.com/lightningnetwork/lnd/lnrpc" - fi - - opts="package_name=$package,manual_import=$manual_import,js_stubs=1" + opts="package_name=$package,js_stubs=1" pushd $package protoc -I/usr/local/include -I. -I.. \ --plugin=protoc-gen-custom=$falafel\