Update paymentrequests.proto

Was installing electrum on my Kali Linux and when running this command: 
protoc --proto_path=lib/ --python_out=lib/ lib/paymentrequest.proto 
i got the following error: 
[libprotobuf WARNING google/protobuf/compiler/parser.cc:547] No syntax specified for the proto file: paymentrequest.proto. Please use 'syntax = "proto2";' or 'syntax = "proto3";' to specify a syntax version. (Defaulted to proto2 syntax.)

Fixed it myself and wanted to share it for people that might have the same issue.
This commit is contained in:
linuxdaddy 2017-08-23 03:15:14 +02:00 committed by GitHub
parent 7ed79011fe
commit 017cef8f88
1 changed files with 1 additions and 0 deletions

View File

@ -6,6 +6,7 @@
// https://github.com/bitcoin/bips/bip-0070/extensions.mediawiki
//
syntax = "proto2";
package payments;
option java_package = "org.bitcoin.protocols.payments";
option java_outer_classname = "Protos";