fix pendingSlash setting

pull/2591/head
Rongjian Lan 5 years ago
parent be25f35810
commit c280606310
  1. 2
      core/blockchain.go

@ -2056,7 +2056,7 @@ func (bc *BlockChain) AddPendingSlashingCandidates(
errExceedMaxPendingSlashes, "current %d with-additional %d", c, l,
)
}
bc.pendingSlashes = pendingSlashes
bc.pendingSlashes = valid
return bc.writeSlashes(bc.pendingSlashes)
}

Loading…
Cancel
Save