src/modules/markets/actions/market-creator-fees-management.js
Function collectMarketCreatorFees
has 59 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
) => (dispatch, getState) => {
const { loginAccount } = getState();
if (!loginAccount.address) return callback(null);
augur.api.Market.getMarketCreatorMailbox(
{ tx: { to: marketId } },
Function loadUnclaimedFees
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export const loadUnclaimedFees = (marketIds = [], callback = logError) => (
dispatch,
getState
) => {
if (marketIds == null || marketIds.length === 0) return callback(null, []);