mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-02-26 01:21:17 -05:00
Answer TODO
This commit is contained in:
parent
19efd376da
commit
d1b00f6ee2
@ -126,7 +126,7 @@ impl ConfidentialTransactionBuilder {
|
|||||||
fn compute_pseudo_out(&mut self, commitments: Vec<EdwardsPoint>) -> EdwardsPoint {
|
fn compute_pseudo_out(&mut self, commitments: Vec<EdwardsPoint>) -> EdwardsPoint {
|
||||||
let sum_commitments = commitments
|
let sum_commitments = commitments
|
||||||
.iter()
|
.iter()
|
||||||
.map(|p| p * Scalar::from(8u8)) // TODO: Should this happen inside the bulletproof module?
|
.map(|p| p * Scalar::from(8u8)) // TODO: Should this happen inside the bulletproof module? => yes
|
||||||
.sum::<EdwardsPoint>();
|
.sum::<EdwardsPoint>();
|
||||||
|
|
||||||
let fee = self.compute_fee();
|
let fee = self.compute_fee();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user