Correct Dave, Eve, and Ferdie to not run as validators

This commit is contained in:
Luke Parker 2022-11-02 23:31:19 -04:00
parent cf8bdf2126
commit 131355b10f
No known key found for this signature in database
GPG key ID: F9F1386DB1E119B6
2 changed files with 4 additions and 2 deletions

View file

@ -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

View file

@ -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()
{ {