Skip to content

Commit c779828

Browse files
author
Darin Stanchfield
committed
changed output address type names
1 parent ebb67b8 commit c779828

1 file changed

Lines changed: 12 additions & 12 deletions

File tree

types.proto

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,16 @@ enum RequestType {
7373
TXFINISHED = 3;
7474
}
7575

76+
/**
77+
* Type of ouput address specify in transaction
78+
* @used_in TxOutputType
79+
*/
80+
enum OutputAddressType {
81+
SPEND = 0;
82+
TRANSFER = 1;
83+
CHANGE = 2;
84+
}
85+
7686
/**
7787
* Type of button request
7888
* @used_in ButtonRequest
@@ -89,8 +99,8 @@ enum ButtonRequestType {
8999
ButtonRequest_FirmwareCheck = 9;
90100
ButtonRequest_Address = 10;
91101
ButtonRequest_FirmwareErase = 11;
92-
ButtonRequest_ConfirmTransferToAccount=12;
93-
ButtonRequest_ConfirmTransferToNodePath=13;
102+
ButtonRequest_ConfirmTransferToAccount = 12;
103+
ButtonRequest_ConfirmTransferToNodePath = 13;
94104
}
95105

96106
/**
@@ -103,16 +113,6 @@ enum PinMatrixRequestType {
103113
PinMatrixRequestType_NewSecond = 3;
104114
}
105115

106-
/**
107-
* Type of ouput address specify in transaction
108-
* @used_in TxOutputType
109-
*/
110-
enum OutputAddressType {
111-
OutputAddressType_spend = 1;
112-
OutputAddressType_transfer = 2;
113-
OutputAddressType_change = 3;
114-
}
115-
116116
/**
117117
* Structure representing BIP32 (hierarchical deterministic) node
118118
* Used for imports of private key into the device and exporting public key out of device

0 commit comments

Comments
 (0)