Merge pull request #197 from varasev/RewardByBlock-all-networks

(Feature) Allow displaying `RewardByBlock` item in drop-down list on the page `Modify Proxy Contract Ballot` for all networks
This commit is contained in:
Vadim Arasev 2019-03-11 20:16:47 +03:00 committed by GitHub
commit 5bb4b21d42
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 6 deletions

View File

@ -22,12 +22,6 @@ export class BallotProxyMetadata extends React.Component {
/*8*/ { value: '9', label: ballotStore.ProxyBallotType[9] } // RewardByBlock
]
const networkName = getNetworkName(contractsStore.netId).toLowerCase()
if (networkName !== constants.SOKOL && networkName !== constants.DAI) {
options.splice(8) // keep 0-7 items and remove 8th if the network is not Sokol or xDai
}
return (
<div className="frm-BallotProxyMetadata">
<div className="frm-BallotProxyMetadata_Row">