order messages by signature
This commit is contained in:
parent
d2099d9f13
commit
f59746b2da
@ -99,7 +99,7 @@ impl Ord for ConsensusMessage {
|
|||||||
} else if self.step != m.step {
|
} else if self.step != m.step {
|
||||||
self.step.number().cmp(&m.step.number())
|
self.step.number().cmp(&m.step.number())
|
||||||
} else {
|
} else {
|
||||||
self.block_hash.cmp(&m.block_hash)
|
self.signature.cmp(&m.signature)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user