mirror of
https://github.com/Qortal/pirate-librustzcash.git
synced 2025-07-30 20:11:23 +00:00
Merge branch 'develop'
This commit is contained in:
@@ -24,9 +24,8 @@ fn test_key_agreement() {
|
||||
let addr = loop {
|
||||
let mut d = [0; 11];
|
||||
rng.fill_bytes(&mut d);
|
||||
match vk.to_payment_address(Diversifier(d), ¶ms) {
|
||||
Some(a) => break a,
|
||||
None => {}
|
||||
if let Some(a) = vk.to_payment_address(Diversifier(d), ¶ms) {
|
||||
break a;
|
||||
}
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user