mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-12 22:19:26 +00:00
Bridge the gap between the prior two commits
This commit is contained in:
@@ -50,7 +50,7 @@ async fn dkg_test() {
|
||||
|
||||
let mut tx =
|
||||
Transaction::DkgCommitments(attempt, vec![commitments], Transaction::empty_signed());
|
||||
tx.sign(&mut OsRng, spec.genesis(), key, 0);
|
||||
tx.sign(&mut OsRng, spec.genesis(), key);
|
||||
txs.push(tx);
|
||||
}
|
||||
|
||||
@@ -177,7 +177,7 @@ async fn dkg_test() {
|
||||
confirmation_nonces: crate::tributary::dkg_confirmation_nonces(key, &spec, 0),
|
||||
signed: Transaction::empty_signed(),
|
||||
};
|
||||
tx.sign(&mut OsRng, spec.genesis(), key, 1);
|
||||
tx.sign(&mut OsRng, spec.genesis(), key);
|
||||
txs.push(tx);
|
||||
}
|
||||
|
||||
@@ -296,7 +296,7 @@ async fn dkg_test() {
|
||||
txn.commit();
|
||||
|
||||
let mut tx = Transaction::DkgConfirmed(attempt, share, Transaction::empty_signed());
|
||||
tx.sign(&mut OsRng, spec.genesis(), key, 2);
|
||||
tx.sign(&mut OsRng, spec.genesis(), key);
|
||||
txs.push(tx);
|
||||
}
|
||||
let block_before_tx = tributaries[0].1.tip().await;
|
||||
|
||||
Reference in New Issue
Block a user