fix: rm comment and add new INS PERFORM PRIVACY in insType

This commit is contained in:
Coline
2022-06-30 14:10:56 +02:00
parent a680e51374
commit 5f446605f4
2 changed files with 1 additions and 4 deletions

View File

@@ -41,6 +41,7 @@ class InsType(enum.IntEnum):
INS_SET_EXTERNAL_PLUGIN = 0x12
INS_PROVIDE_NFT_INFORMATION = 0x14
INS_SET_PLUGIN = 0x16
INS_PERFORM_PRIVACY_OPERATION = 0x18
class EthereumCommandBuilder:

View File

@@ -11,10 +11,6 @@ class TransactionError(Exception):
EIP2930 = 1
EIP1559 = 2
# e0 + 08 + 00 + 00 + 38 + 05 + 8000002c 8000003c 80000000 00000000 00000000 + 0000001f + 4578616d706c652060706572736f6e616c5f7369676e60206d657373616765
# E0 + 08 + 00 + 00 + 34 + 05 + 8000002C 8000003C 80000000 00000000 00000000 + 4578616D706C652060706572736F6E616C5F7369676E60206D657373616765
# E0 08 00 00 35058000002C8000003C8000000000000000000000001F4578616D706C652060706572736F6E616C5F7369676E60206D657373616765
class PersonalTransaction:
def __init__(self, msg: Union[str, bytes]) -> None:
# If you want to send bytes directly you have to put "0x" before the string