Remove calling slashMiner when dispute result has any value

This commit is contained in:
ChronosX88 2021-03-03 01:05:29 +03:00
parent 8ead31a45e
commit ebc29c2078
Signed by: ChronosXYZ
GPG Key ID: 085A69A82C8C511A

View File

@ -75,10 +75,9 @@ contract DioneDispute {
dispute.disputeResult = false;
} else {
dispute.disputeResult = true;
dioneStaking.slashMiner(dispute.miner);
}
dioneStaking.slashMiner(dispute.miner);
dispute.finished = true;
emit DisputeFinished(dhash, dispute.disputeResult);