mirror of
https://github.com/jwinterm/mwixnet.git
synced 2026-11-16 11:03:53 +01:00
generate random pubkey for each payload (https://github.com/mimblewimble/mwixnet/issues/19)
This commit is contained in:
+2
-2
@@ -90,7 +90,7 @@ pub mod test_util {
|
||||
|
||||
pub fn proof(
|
||||
value: u64,
|
||||
fee: u64,
|
||||
fee: u32,
|
||||
input_blind: &SecretKey,
|
||||
hop_excesses: &Vec<&SecretKey>,
|
||||
) -> (Commitment, RangeProof) {
|
||||
@@ -101,7 +101,7 @@ pub mod test_util {
|
||||
blind.add_assign(&secp, &hop_excess).unwrap();
|
||||
}
|
||||
|
||||
let out_value = value - fee;
|
||||
let out_value = value - (fee as u64);
|
||||
|
||||
let rp = secp.bullet_proof(
|
||||
out_value,
|
||||
|
||||
Reference in New Issue
Block a user