Skip to content

Commit

Permalink
xmr: set_out minor function call fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ph4r05 committed Sep 27, 2018
1 parent c11c468 commit c0cfc20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/apps/monero/protocol/signing/step_06_set_out1.py
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ def _is_last_in_batch(state: State, idx, bidx=None):
"""
Returns true if the current output is last in the rsig batch
"""
bidx = _get_rsig_batch(idx) if bidx is None else bidx
bidx = _get_rsig_batch(state, idx) if bidx is None else bidx
batch_size = state.rsig_grp[bidx]
return (idx - sum(state.rsig_grp[:bidx])) + 1 == batch_size

Expand Down

0 comments on commit c0cfc20

Please sign in to comment.