Updated Ragger app client for trusted name & sign APDUs
Also added two new optional arguments to pytest : --gold for screenshot generation --chainid to specify an alternative app chain ID
This commit is contained in:
@@ -12,3 +12,7 @@ class EthereumRespParser:
|
||||
data = data[32:]
|
||||
|
||||
return v, r, s
|
||||
|
||||
def challenge(self, data: bytes) -> int:
|
||||
assert len(data) == 4
|
||||
return int.from_bytes(data, "big")
|
||||
|
||||
Reference in New Issue
Block a user