mirror of
https://github.com/bitcoin/bips.git
synced 2025-05-12 12:03:29 +00: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…
x
Reference in New Issue
Block a user