From 41028dff1a159024112824a791ee471d07acdb9b Mon Sep 17 00:00:00 2001 From: Dusan Klinec Date: Wed, 19 Sep 2018 14:24:00 +0200 Subject: [PATCH] xmr: unused function removed --- src/apps/monero/protocol/tsx_sign_builder.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/apps/monero/protocol/tsx_sign_builder.py b/src/apps/monero/protocol/tsx_sign_builder.py index ff1744fe2..14d6707c5 100644 --- a/src/apps/monero/protocol/tsx_sign_builder.py +++ b/src/apps/monero/protocol/tsx_sign_builder.py @@ -771,15 +771,6 @@ def _check_out_commitment(self, amount, mask, C): "OutC fail", ) - def _check_bproof(self, batch_size, rsig, masks): - if len(rsig.V) < batch_size: - raise misc.TrezorError("Bulletproof to small") - - for i in range(batch_size): - C = crypto.decodepoint(rsig.V[i]) - crypto.point_mul8_into(C, C) - self._check_out_commitment(self.output_amounts[i], masks[i], C) - def _return_rsig_data(self, rsig): if rsig is None: return None