Correct serai-processor-tests to dalek 4

This commit is contained in:
Luke Parker 2023-08-19 16:34:27 -04:00
parent 96583da3b9
commit 34397b31b1
No known key found for this signature in database
3 changed files with 3 additions and 3 deletions

2
Cargo.lock generated
View file

@ -8223,7 +8223,7 @@ version = "0.1.0"
dependencies = [ dependencies = [
"bitcoin-serai", "bitcoin-serai",
"ciphersuite", "ciphersuite",
"curve25519-dalek 3.2.0", "curve25519-dalek 4.0.0",
"dkg", "dkg",
"dockertest", "dockertest",
"hex", "hex",

View file

@ -19,7 +19,7 @@ hex = "0.4"
zeroize = { version = "1", default-features = false } zeroize = { version = "1", default-features = false }
rand_core = { version = "0.6", default-features = false, features = ["getrandom"] } rand_core = { version = "0.6", default-features = false, features = ["getrandom"] }
curve25519-dalek = "3.2" curve25519-dalek = "4"
ciphersuite = { path = "../../crypto/ciphersuite", default-features = false, features = ["ristretto"] } ciphersuite = { path = "../../crypto/ciphersuite", default-features = false, features = ["ristretto"] }
dkg = { path = "../../crypto/dkg", default-features = false, features = ["tests"] } dkg = { path = "../../crypto/dkg", default-features = false, features = ["tests"] }

View file

@ -276,7 +276,7 @@ impl Coordinator {
Some(serde_json::json!({ Some(serde_json::json!({
"wallet_address": ViewPair::new( "wallet_address": ViewPair::new(
ED25519_BASEPOINT_POINT, ED25519_BASEPOINT_POINT,
Zeroizing::new(Scalar::one()), Zeroizing::new(Scalar::ONE),
).address(Network::Mainnet, AddressSpec::Standard).to_string(), ).address(Network::Mainnet, AddressSpec::Standard).to_string(),
"amount_of_blocks": 1, "amount_of_blocks": 1,
})), })),