mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-13 18:10:25 +02:00
lnrpc: update github.com/golang/protobuf to v1.2.0
Update is necessary to get protoc to generate files in the right directory when using modules outside the gopath. The old version of this dependency did not support paths=source_relative. This commit also fixes a build error in lnd_test.go because of a slight difference in generated code.
This commit is contained in:
@@ -149,11 +149,11 @@ $ unzip protoc-3.4.0-osx-x86_64.zip -d protoc
|
||||
$ export PATH=$PWD/protoc/bin:$PATH
|
||||
```
|
||||
|
||||
2. Install `golang/protobuf` at commit `bbd03ef6da3a115852eaf24c8a1c46aeb39aa175`.
|
||||
2. Install `golang/protobuf` at commit `aa810b61a9c79d51363740d207bb46cf8e620ed5` (v1.2.0).
|
||||
```bash
|
||||
$ git clone https://github.com/golang/protobuf $GOPATH/src/github.com/golang/protobuf
|
||||
$ cd $GOPATH/src/github.com/golang/protobuf
|
||||
$ git reset --hard bbd03ef6da3a115852eaf24c8a1c46aeb39aa175
|
||||
$ git reset --hard aa810b61a9c79d51363740d207bb46cf8e620ed5
|
||||
$ make
|
||||
```
|
||||
|
||||
|
Reference in New Issue
Block a user