1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-13 19:18:56 +00:00

Added PAYTOMULTISIG to TxOutputType

This commit is contained in:
slush0 2014-12-15 14:56:51 +01:00
parent 81d89030df
commit 85e68ff50e

View File

@ -47,6 +47,7 @@ enum FailureType {
enum OutputScriptType {
PAYTOADDRESS = 0;
PAYTOSCRIPTHASH = 1;
PAYTOMULTISIG = 2;
}
/**
@ -164,7 +165,7 @@ message TxOutputType {
repeated uint32 address_n = 2; // BIP-32 path to derive the key from master node; has higher priority than "address"
required uint64 amount = 3; // amount to spend in satoshis
required OutputScriptType script_type = 4; // output script type
repeated MultisigRedeemScriptType multisig = 5; // Defines multisig address; when filled, it has priority over address/address_n
repeated MultisigRedeemScriptType multisig = 5; // Defines multisig address; script_type must be PAYTOMULTISIG
}
/**