Skip to content
This repository has been archived by the owner on May 28, 2019. It is now read-only.

Commit

Permalink
xmr: comment fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ph4r05 committed Sep 14, 2018
1 parent 8b4f4d9 commit 28df866
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/apps/monero/protocol/tsx_sign_builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,7 @@ async def init_transaction(self, tsx_data):
class_res = classify_subaddresses(tsx_data.outputs, self.change_address())
num_stdaddresses, num_subaddresses, single_dest_subaddress = class_res

# if this is a single-destination transfer to a subaddress, we set the tx pubkey to R=s*D
# if this is a single-destination transfer to a subaddress, we set the tx pubkey to R=r*D
if num_stdaddresses == 0 and num_subaddresses == 1:
self.r_pub = crypto.scalarmult(
crypto.decodepoint(single_dest_subaddress.spend_public_key), self.r
Expand Down

0 comments on commit 28df866

Please sign in to comment.