From 0237d5324227f5312d29f60c4e69684530bd908a Mon Sep 17 00:00:00 2001 From: M1nd3r Date: Tue, 19 Nov 2024 14:20:57 +0100 Subject: [PATCH] fix: fix protobuf trailing whitespaces --- common/protob/messages-debug.proto | 2 +- common/protob/messages-thp.proto | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/common/protob/messages-debug.proto b/common/protob/messages-debug.proto index 18c76dd545..9e64d9944f 100644 --- a/common/protob/messages-debug.proto +++ b/common/protob/messages-debug.proto @@ -111,7 +111,7 @@ message DebugLinkGetState { // changed in 2.6.4: multiple wait types instead of true/false. optional DebugWaitType wait_layout = 3 [default=IMMEDIATE]; // THP only - it is used to get information from specified channel - optional bytes thp_channel_id=4; + optional bytes thp_channel_id=4; } /** diff --git a/common/protob/messages-thp.proto b/common/protob/messages-thp.proto index 7e7c1432d1..5fb24d055c 100644 --- a/common/protob/messages-thp.proto +++ b/common/protob/messages-thp.proto @@ -13,8 +13,8 @@ option (include_in_bitcoin_only) = true; * Mapping between Trezor wire identifier (uint) and a Thp protobuf message */ enum ThpMessageType { - reserved 0 to 999; // Values reserved by other messages, see messages.proto - + reserved 0 to 999; // Values reserved by other messages, see messages.proto + ThpMessageType_ThpCreateNewSession = 1000[(bitcoin_only)=true, (channel_in) = true]; ThpMessageType_ThpNewSession = 1001[(bitcoin_only)=true, (channel_out) = true]; ThpMessageType_ThpStartPairingRequest = 1008 [(bitcoin_only) = true, (pairing_in) = true];