Skip to content
Permalink
Browse files

Upgrade and fixes flow

  • Loading branch information...
gre committed Mar 3, 2019
1 parent 1999972 commit 99ce58112a6b257b0c0460a2d6f4f33837e8a71a
@@ -70,9 +70,9 @@
"eslint-config-prettier": "^2.9.0",
"eslint-plugin-flowtype": "^2.49.3",
"eslint-plugin-react": "^7.7.0",
"flow-bin": "^0.73.0",
"flow-bin": "^0.94.0",
"flow-copy-source": "^1.2.1",
"flow-typed": "^2.2.3",
"flow-typed": "^2.5.1",
"glob": "^7.1.2",
"jest": "^23.1.0",
"prettier": "^1.13.4",
@@ -10,8 +10,10 @@ export type Fees = {
[_: string]: number
};

export const getEstimatedFees = makeLRUCache(
async (currency: CryptoCurrency): Promise<Fees> => {
export const getEstimatedFees: (
currency: CryptoCurrency
) => Promise<Fees> = makeLRUCache(
async currency => {
const baseURL = blockchainBaseURL(currency);
invariant(baseURL, `Fees for ${currency.id} are not supported`);
const { data, status } = await network({
Oops, something went wrong.

0 comments on commit 99ce581

Please sign in to comment.
You can’t perform that action at this time.