Skip to content

Commit

Permalink
xmr: bp - black
Browse files Browse the repository at this point in the history
  • Loading branch information
ph4r05 committed Aug 26, 2018
1 parent f5c4069 commit c30745a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/apps/monero/xmr/bulletproof.py
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ def get_exponent(dst, base, idx):
memcpy(buff, 0, base, 0, 32)
memcpy(buff, 32, salt, 0, len(salt))
dump_uvarint_b_into(idx, buff, 32 + len(salt))
crypto.keccak_hash_into(tmp_bf_1, buff[ : final_size])
crypto.keccak_hash_into(tmp_bf_1, buff[:final_size])
crypto.hash_to_ec_into(tmp_pt_1, tmp_bf_1)
crypto.encodepoint_into(tmp_pt_1, dst)
return dst
Expand Down

0 comments on commit c30745a

Please sign in to comment.