Skip to content

Commit e8da2fa

Browse files
committed
lnrpc/gen_protos: remove manual_imports
With the updated falafel version, there is no longer a need to specify manual imports.
1 parent 58317e6 commit e8da2fa

File tree

1 file changed

+1
-12
lines changed

1 file changed

+1
-12
lines changed

lnrpc/gen_protos.sh

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -50,18 +50,7 @@ function generate() {
5050

5151
PACKAGES="autopilotrpc chainrpc invoicesrpc neutrinorpc peersrpc routerrpc signrpc verrpc walletrpc watchtowerrpc wtclientrpc devrpc"
5252
for package in $PACKAGES; do
53-
# Special import for the wallet kit.
54-
manual_import=""
55-
if [[ "$package" == "walletrpc" ]]; then
56-
manual_import="github.com/lightningnetwork/lnd/lnrpc/signrpc"
57-
fi
58-
59-
# Special import for devrpc.
60-
if [[ "$package" == "devrpc" ]]; then
61-
manual_import="github.com/lightningnetwork/lnd/lnrpc"
62-
fi
63-
64-
opts="package_name=$package,manual_import=$manual_import,js_stubs=1"
53+
opts="package_name=$package,js_stubs=1"
6554
pushd $package
6655
protoc -I/usr/local/include -I. -I.. \
6756
--plugin=protoc-gen-custom=$falafel\

0 commit comments

Comments
 (0)