1
0
mirror of https://github.com/bitcoin/bips.git synced 2024-11-19 01:40:05 +01:00

- Replace UNKNOWN_TYPE with UNKNOWN_MESSAGE_TYPE

This commit is contained in:
Matt David 2016-07-28 15:13:32 -07:00
parent f7e08aa1a7
commit 6559767e03
2 changed files with 2 additions and 2 deletions

View File

@ -109,7 +109,7 @@ message InvoiceRequest {
This enum is used in the newly defined [[#ProtocolMessage|ProtocolMessage]] and [[#EncryptedProtocolMessage|EncryptedProtocolMessage]] messages to define the serialized message type. The '''ProtocolMessageType''' enum is defined in an extensible way to allow for new message type additions to the Payment Protocol.
<pre>
enum ProtocolMessageType {
UNKNOWN_TYPE = 0;
UNKNOWN_MESSAGE_TYPE = 0;
INVOICE_REQUEST = 1;
PAYMENT_REQUEST = 2;
PAYMENT = 3;

View File

@ -57,7 +57,7 @@ message InvoiceRequest {
}
enum ProtocolMessageType {
UNKNOWN_TYPE = 0;
UNKNOWN_MESSAGE_TYPE = 0;
INVOICE_REQUEST = 1;
PAYMENT_REQUEST = 2;
PAYMENT = 3;