Skip to content

Commit

Permalink
Merge pull request #19 from goerli/sync-fix
Browse files Browse the repository at this point in the history
fix broken sync
  • Loading branch information
jwasinger authored Nov 20, 2018
2 parents 6c0c97c + 4fc037c commit cca282e
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions ethcore/src/engines/clique/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -160,9 +160,11 @@ impl Engine<EthereumMachine> for Clique {
fn populate_from_parent(&self, header: &mut Header, parent: &Header) {
// if in turn, set difficulty
//
let mut address = Address::new();
address.0 = NULL_AUTHOR.clone();
header.set_author(address);
if self.is_signer_proposer(header.number()) {
let mut address = Address::new();
address.0 = NULL_AUTHOR.clone();
header.set_author(address);
}
}

fn close_block_extra_data(&self, _header: &Header) -> Option<Vec<u8>> {
Expand Down

0 comments on commit cca282e

Please sign in to comment.