fix: rm comment and add new INS PERFORM PRIVACY in insType
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user