mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-07-08 23:58:09 +00:00
27 lines
734 B
Python
27 lines
734 B
Python
# Automatically generated by pb2py
|
|
from .. import protobuf as p
|
|
if __debug__:
|
|
try:
|
|
from typing import List
|
|
except ImportError:
|
|
List = None
|
|
from .HDNodePathType import HDNodePathType
|
|
|
|
|
|
class MultisigRedeemScriptType(p.MessageType):
|
|
FIELDS = {
|
|
1: ('pubkeys', HDNodePathType, p.FLAG_REPEATED),
|
|
2: ('signatures', p.BytesType, p.FLAG_REPEATED),
|
|
3: ('m', p.UVarintType, 0),
|
|
}
|
|
|
|
def __init__(
|
|
self,
|
|
pubkeys: List[HDNodePathType] = None,
|
|
signatures: List[bytes] = None,
|
|
m: int = None
|
|
) -> None:
|
|
self.pubkeys = pubkeys if pubkeys is not None else []
|
|
self.signatures = signatures if signatures is not None else []
|
|
self.m = m
|