diff --git a/src/apps/monero/xmr/sub/keccak_hasher.py b/src/apps/monero/xmr/sub/keccak_hasher.py index d28ef947a..27cb98c02 100644 --- a/src/apps/monero/xmr/sub/keccak_hasher.py +++ b/src/apps/monero/xmr/sub/keccak_hasher.py @@ -93,8 +93,8 @@ def get_digest(self, *args) -> bytes: return self.hasher.digest(*args) def ctx(self): - return self.hasher.ctx + return self.hasher def get_keccak_writer(ctx=None): - return AHashWriter(HashWrapper(crypto.get_keccak() if ctx is None else ctx)) + return AHashWriter(crypto.get_keccak() if ctx is None else ctx)