no default uncles

This commit is contained in:
keorn
2017-11-09 23:56:02 +00:00
parent ffee6aacff
commit 261c0d5368
6 changed files with 17 additions and 2 deletions

View File

@@ -95,6 +95,8 @@ impl<M: WithBalances> Engine<M> for NullEngine<M> {
self.machine.note_rewards(block, &[(author, result_block_reward)], &uncle_rewards)
}
fn maximum_uncle_count(&self) -> usize { 2 }
fn verify_local_seal(&self, _header: &M::Header) -> Result<(), M::Error> {
Ok(())
}