order messages by signature

This commit is contained in:
keorn 2016-11-25 16:44:18 +00:00
parent d2099d9f13
commit f59746b2da

View File

@ -99,7 +99,7 @@ impl Ord for ConsensusMessage {
} else if self.step != m.step {
self.step.number().cmp(&m.step.number())
} else {
self.block_hash.cmp(&m.block_hash)
self.signature.cmp(&m.signature)
}
}
}