1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-16 04:29:08 +00:00

GetAddress with scripttype

Added script_type field to GetAddress, which can later be
used to display segwit addresses on the Trezor.
This commit is contained in:
Jochen Hoenicke 2016-07-03 14:47:22 +02:00
parent def589743e
commit 1a66454066
No known key found for this signature in database
GPG Key ID: 65B10C0466560648

View File

@ -291,6 +291,7 @@ message GetAddress {
optional string coin_name = 2 [default='Bitcoin'];
optional bool show_display = 3; // optionally show on display before sending the result
optional MultisigRedeemScriptType multisig = 4; // Filled if we are showing a multisig address
optional InputScriptType script_type = 5 [default=SPENDADDRESS]; // Used to distinguish segwit addresses
}
/**