diff --git a/firmware/protob/types.options b/firmware/protob/types.options index 477ebb3f66..747eb75a31 100644 --- a/firmware/protob/types.options +++ b/firmware/protob/types.options @@ -12,7 +12,7 @@ TxInputType.script_sig max_size:520 TxOutputType.address max_size:35 TxOutputType.address_n max_count:8 -TxOutputBinType.script_pubkey max_size:256 +TxOutputBinType.script_pubkey max_size:520 TransactionType.inputs max_count:1 TransactionType.bin_outputs max_count:1 @@ -23,7 +23,5 @@ TxRequestDetailsType.tx_hash max_size:32 TxRequestSerializedType.signature max_size:80 TxRequestSerializedType.serialized_tx max_size:1024 -MultisigRedeemScriptType.pubkeys max_count:5 -MultisigRedeemScriptType.pubkeys max_size:33 -MultisigRedeemScriptType.signatures max_count:4 -MultisigRedeemScriptType.signatures max_size:80 +MultisigRedeemScriptType.pubkeys max_count:5 max_size:65 +MultisigRedeemScriptType.signatures max_count:4 max_size:80 diff --git a/firmware/protob/types.pb.h b/firmware/protob/types.pb.h index fb674eadff..2f3f016929 100644 --- a/firmware/protob/types.pb.h +++ b/firmware/protob/types.pb.h @@ -98,7 +98,7 @@ typedef struct _HDNodeType { typedef struct { size_t size; - uint8_t bytes[33]; + uint8_t bytes[65]; } MultisigRedeemScriptType_pubkeys_t; typedef struct { @@ -115,7 +115,7 @@ typedef struct _MultisigRedeemScriptType { typedef struct { size_t size; - uint8_t bytes[256]; + uint8_t bytes[520]; } TxOutputBinType_script_pubkey_t; typedef struct _TxOutputBinType { @@ -272,11 +272,11 @@ extern const pb_field_t TxRequestSerializedType_fields[4]; /* Maximum encoded size of messages (where known) */ #define HDNodeType_size 121 #define CoinType_size 47 -#define MultisigRedeemScriptType_size 503 -#define TxInputType_size 1129 +#define MultisigRedeemScriptType_size 663 +#define TxInputType_size 1289 #define TxOutputType_size 102 -#define TxOutputBinType_size 270 -#define TransactionType_size 1533 +#define TxOutputBinType_size 534 +#define TransactionType_size 1957 #define TxRequestDetailsType_size 40 #define TxRequestSerializedType_size 1115