mirror of
https://github.com/serai-dex/serai.git
synced 2025-01-24 11:36:18 +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
|
#!/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()
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue