mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-08 20:29:23 +00:00
Correct Dave, Eve, and Ferdie to not run as validators
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
if [[ -z $VALIDATOR ]]; then
|
if [[ -z $VALIDATOR ]]; then
|
||||||
serai-node --chain $CHAIN --$NAME
|
serai-node --chain $CHAIN --name $NAME
|
||||||
else
|
else
|
||||||
serai-node --chain $CHAIN --$NAME --validator
|
serai-node --chain $CHAIN --$NAME
|
||||||
fi
|
fi
|
||||||
|
|||||||
@@ -19,6 +19,8 @@ impl<T: TendermintValidator> TendermintImport<T> {
|
|||||||
// If it's in chain, with justifications, return it's already on chain
|
// If it's in chain, with justifications, return it's already on chain
|
||||||
// If it's in chain, without justifications, continue the block import process to import its
|
// If it's in chain, without justifications, continue the block import process to import its
|
||||||
// justifications
|
// justifications
|
||||||
|
// This can be triggered if the validators add a block, without justifications, yet the p2p
|
||||||
|
// process then broadcasts it with its justifications
|
||||||
if (self.client.status(id).unwrap() == BlockStatus::InChain) &&
|
if (self.client.status(id).unwrap() == BlockStatus::InChain) &&
|
||||||
self.client.justifications(&id).unwrap().is_some()
|
self.client.justifications(&id).unwrap().is_some()
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user