mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2024-10-01 01:45:40 -04:00
Move code so it stays with the pre-computed things
This commit is contained in:
parent
fbf9d456ae
commit
ddddc4d1ac
@ -37,6 +37,7 @@ pub fn sign(
|
||||
let mu_C = hash_to_scalar!(
|
||||
b"CLSAG_agg_1" || ring || commitment_ring || I || H_p_pk || pseudo_output_commitment
|
||||
);
|
||||
let adjusted_commitment_ring = &commitment_ring - pseudo_output_commitment;
|
||||
|
||||
let compute_ring_element = |L: EdwardsPoint, R: EdwardsPoint| {
|
||||
hash_to_scalar!(
|
||||
@ -45,7 +46,6 @@ pub fn sign(
|
||||
};
|
||||
|
||||
let h_0 = compute_ring_element(L_0, R_0);
|
||||
let adjusted_commitment_ring = &commitment_ring - pseudo_output_commitment;
|
||||
|
||||
let h_last = fake_responses
|
||||
.iter()
|
||||
|
Loading…
Reference in New Issue
Block a user