Commit 7390bd06 authored by 张振华's avatar 张振华

bug fix

parent 533a74e3
...@@ -339,7 +339,7 @@ func (cs *ConsensusState) SaveNotify() { ...@@ -339,7 +339,7 @@ func (cs *ConsensusState) SaveNotify() {
// SetNotify method // SetNotify method
func (cs *ConsensusState) SetNotify(notify *dpostype.DPosNotify) { func (cs *ConsensusState) SetNotify(notify *dpostype.DPosNotify) {
if cs.notify != nil && !bytes.Equal(cs.lastNotify.Signature, notify.Signature) { if cs.notify != nil && !bytes.Equal(cs.notify.Signature, notify.Signature) {
cs.lastNotify = cs.notify cs.lastNotify = cs.notify
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment