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:
parent
def589743e
commit
1a66454066
@ -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
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user