From 28df8662ebceda3e3faf159abe4aaa28aeb1afbc Mon Sep 17 00:00:00 2001 From: Dusan Klinec Date: Fri, 14 Sep 2018 14:39:05 +0200 Subject: [PATCH] xmr: comment fix --- src/apps/monero/protocol/tsx_sign_builder.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/apps/monero/protocol/tsx_sign_builder.py b/src/apps/monero/protocol/tsx_sign_builder.py index d68eea0ad..4234b05fa 100644 --- a/src/apps/monero/protocol/tsx_sign_builder.py +++ b/src/apps/monero/protocol/tsx_sign_builder.py @@ -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