Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix issues 2100 #3081

Merged
merged 4 commits into from
Sep 1, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions app/store/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ const persistConfig = {
storage: MigratedStorage,
stateReconciler: autoMergeLevel2, // see "Merge Process" section for details.
migrate: createMigrate(migrations, { debug: false }),
timeout: 30000,
writeFailHandler: error => Logger.error(error, { message: 'Error persisting data' }) // Log error if saving state fails
};

Expand Down
3 changes: 2 additions & 1 deletion app/util/transactions/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ import {
} from '../confirm-tx';

import humanizeDuration from 'humanize-duration';
import Logger from '../../util/Logger';

const { SAI_ADDRESS } = AppConstants;

Expand Down Expand Up @@ -653,7 +654,7 @@ export const calculateEIP1559Times = ({
timeEstimateId = AppConstants.GAS_TIMES.RANGE;
}
} catch (error) {
console.log('ERROR ESTIMATING TIME', error);
Logger.log('ERROR ESTIMATING TIME', error);
}

return { timeEstimate, timeEstimateColor, timeEstimateId };
Expand Down