mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-09 04:39:24 +00:00
Add a next block notification system to Tributary
Also adds a loop missing from the prior commit.
This commit is contained in:
@@ -104,7 +104,7 @@ fn invalid_block() {
|
||||
|
||||
{
|
||||
// Add a valid transaction
|
||||
let mut blockchain = blockchain.clone();
|
||||
let (_, mut blockchain) = new_blockchain(genesis, &[tx.1.signer]);
|
||||
assert!(blockchain.add_transaction::<N>(
|
||||
true,
|
||||
Transaction::Application(tx.clone()),
|
||||
@@ -129,7 +129,7 @@ fn invalid_block() {
|
||||
|
||||
{
|
||||
// Invalid signature
|
||||
let mut blockchain = blockchain.clone();
|
||||
let (_, mut blockchain) = new_blockchain(genesis, &[tx.1.signer]);
|
||||
assert!(blockchain.add_transaction::<N>(
|
||||
true,
|
||||
Transaction::Application(tx),
|
||||
|
||||
Reference in New Issue
Block a user