Skip to content

Commit

Permalink
xmr: unused function removed
Browse files Browse the repository at this point in the history
  • Loading branch information
ph4r05 committed Sep 19, 2018
1 parent 358573e commit 41028df
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/apps/monero/protocol/tsx_sign_builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 41028df

Please sign in to comment.