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:
parent
f7e08aa1a7
commit
6559767e03
@ -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;
|
||||
|
@ -57,7 +57,7 @@ message InvoiceRequest {
|
||||
}
|
||||
|
||||
enum ProtocolMessageType {
|
||||
UNKNOWN_TYPE = 0;
|
||||
UNKNOWN_MESSAGE_TYPE = 0;
|
||||
INVOICE_REQUEST = 1;
|
||||
PAYMENT_REQUEST = 2;
|
||||
PAYMENT = 3;
|
||||
|
Loading…
Reference in New Issue
Block a user