mirror of
https://github.com/serai-dex/serai.git
synced 2025-01-24 03:26:19 +00:00
Correct Dave, Eve, and Ferdie to not run as validators
This commit is contained in:
parent
cf8bdf2126
commit
131355b10f
2 changed files with 4 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
if [[ -z $VALIDATOR ]]; then
|
||||
serai-node --chain $CHAIN --$NAME
|
||||
serai-node --chain $CHAIN --name $NAME
|
||||
else
|
||||
serai-node --chain $CHAIN --$NAME --validator
|
||||
serai-node --chain $CHAIN --$NAME
|
||||
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, without justifications, continue the block import process to import its
|
||||
// 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) &&
|
||||
self.client.justifications(&id).unwrap().is_some()
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue