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

Feature/fetch gas price #160

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

helenlawes
Copy link
Contributor

Description

Adding in the recommended gas price api to be fetched by the app and displayed in the component

Issues fixed

Fixes #148

Checklist

  • [*] npm test returns no warnings or errors.

@helenlawes helenlawes requested a review from dan1elhughes April 9, 2018 10:22

const loadedGasPrice = (gas, { payload }) => payload.gasPrice;

const gasPriceReducer = createReducer(initialSettings, {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like either initialSettings should be a number, or the gasPrice should be stored as a property of the state object

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've updated the initialSettings to be a number instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

App to fetch recommended Gas price
3 participants