consensus: refactor aura and babe proposer (#3377)

This commit is contained in:
André Silva
2019-08-15 07:20:39 +01:00
committed by Bastian Köcher
parent 5b83e6426f
commit 6058207935
6 changed files with 372 additions and 291 deletions
+1 -1
View File
@@ -325,7 +325,7 @@ fn can_author_block() {
duration: 100,
};
loop {
match claim_slot(i, epoch.clone(), (3, 10), &keystore) {
match claim_slot(i, &epoch.clone(), (3, 10), &keystore) {
None => i += 1,
Some(s) => {
debug!(target: "babe", "Authored block {:?}", s.0);