Skip to content

Commit

Permalink
xmr: bp - blacked
Browse files Browse the repository at this point in the history
  • Loading branch information
ph4r05 committed Aug 17, 2018
1 parent b264a65 commit 1523f40
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/apps/monero/xmr/bulletproof.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,10 @@ def extended_gcd(aa, bb):
x, lastx, y, lasty = 0, 1, 1, 0
gc_ctr = 0
while remainder:
lastremainder, (quotient, remainder) = remainder, divmod(lastremainder, remainder)
lastremainder, (quotient, remainder) = (
remainder,
divmod(lastremainder, remainder),
)
x, lastx = lastx - quotient * x, x
y, lasty = lasty - quotient * y, y
gc_ctr += 1
Expand Down

0 comments on commit 1523f40

Please sign in to comment.