mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-02-23 21:02:23 +00:00
Added PAYTOMULTISIG to TxOutputType
This commit is contained in:
parent
81d89030df
commit
85e68ff50e
@ -47,6 +47,7 @@ enum FailureType {
|
|||||||
enum OutputScriptType {
|
enum OutputScriptType {
|
||||||
PAYTOADDRESS = 0;
|
PAYTOADDRESS = 0;
|
||||||
PAYTOSCRIPTHASH = 1;
|
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"
|
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 uint64 amount = 3; // amount to spend in satoshis
|
||||||
required OutputScriptType script_type = 4; // output script type
|
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
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user