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;
|
||||
} else {
|
||||
dispute.disputeResult = true;
|
||||
dioneStaking.slashMiner(dispute.miner);
|
||||
}
|
||||
|
||||
dioneStaking.slashMiner(dispute.miner);
|
||||
|
||||
dispute.finished = true;
|
||||
|
||||
emit DisputeFinished(dhash, dispute.disputeResult);
|
||||
|
Loading…
Reference in New Issue
Block a user