src/modules/app/actions/sync-blockchain.js
Function syncBlockchain
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export const syncBlockchain = () => (dispatch, getState) => {
const { gasPriceInfo } = getState();
const blockNumber = parseInt(augur.rpc.getCurrentBlock().number, 16);
augur.api.Controller.getTimestamp((err, augurTimestamp) => {
if (err) console.error(err);