fix depedencies

This commit is contained in:
rootzoll 2020-06-23 15:24:28 +02:00
parent bd2bb39fc1
commit eb6bad964c
3 changed files with 11 additions and 3 deletions

View file

@ -21,7 +21,7 @@ Now copy the generated RPC libs per SCP over to your Laptop and add them to the
scp -r admin@192.168.X.X:/home/admin/protobuffs ./protobuffs scp -r admin@192.168.X.X:/home/admin/protobuffs ./protobuffs
Make sure the first 3 lines of the `rpc_pb2_grpc.py` & `walletunlocker_pb2_grpc.py` look like the following for python3 compatibility: Make sure the first 3 lines of the `rpc_pb2_grpc.py` look like the following for python3 compatibility:
``` ```
from __future__ import absolute_import from __future__ import absolute_import
import grpc import grpc
@ -29,4 +29,12 @@ import grpc
from . import rpc_pb2 as rpc__pb2 from . import rpc_pb2 as rpc__pb2
``` ```
Make sure the first 3 lines of the `walletunlocker_pb2_grpc.py` look like the following for python3 compatibility:
```
from __future__ import absolute_import
import grpc
from . import walletunlocker_pb2 as walletunlocker__pb2
```

View file

@ -2,7 +2,7 @@
from __future__ import absolute_import from __future__ import absolute_import
import grpc import grpc
import rpc_pb2 as rpc__pb2 from . import rpc_pb2 as rpc__pb2
class LightningStub(object): class LightningStub(object):

View file

@ -2,7 +2,7 @@
from __future__ import absolute_import from __future__ import absolute_import
import grpc import grpc
import walletunlocker_pb2 as walletunlocker__pb2 from . import walletunlocker_pb2 as walletunlocker__pb2
class WalletUnlockerStub(object): class WalletUnlockerStub(object):