Remove calling slashMiner when dispute result has any value
This commit is contained in:
parent
8ead31a45e
commit
ebc29c2078
@ -75,10 +75,9 @@ contract DioneDispute {
|
|||||||
dispute.disputeResult = false;
|
dispute.disputeResult = false;
|
||||||
} else {
|
} else {
|
||||||
dispute.disputeResult = true;
|
dispute.disputeResult = true;
|
||||||
|
dioneStaking.slashMiner(dispute.miner);
|
||||||
}
|
}
|
||||||
|
|
||||||
dioneStaking.slashMiner(dispute.miner);
|
|
||||||
|
|
||||||
dispute.finished = true;
|
dispute.finished = true;
|
||||||
|
|
||||||
emit DisputeFinished(dhash, dispute.disputeResult);
|
emit DisputeFinished(dhash, dispute.disputeResult);
|
||||||
|
Loading…
Reference in New Issue
Block a user