From c30745ae061ccc7987064ef1e11231edbfd90d31 Mon Sep 17 00:00:00 2001 From: Dusan Klinec Date: Sun, 26 Aug 2018 21:00:10 +0200 Subject: [PATCH] xmr: bp - black --- src/apps/monero/xmr/bulletproof.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/apps/monero/xmr/bulletproof.py b/src/apps/monero/xmr/bulletproof.py index 4b4adef6e..711923a51 100644 --- a/src/apps/monero/xmr/bulletproof.py +++ b/src/apps/monero/xmr/bulletproof.py @@ -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