@@ -3,6 +3,7 @@
3import retry from 'async-retry';
3import retry from 'async-retry';
4import { toBN } from 'web3-utils';
4import { toBN } from 'web3-utils';
5import { RETRY_OPTIONS, waitForTransactionConfirm } from './txn';
5import { RETRY_OPTIONS, waitForTransactionConfirm } from './txn';
6+import { WALLET_TYPES } from 'lib/wallet';
7//NOTE if accessing this in a localhost configuration fails with "CORS request
8//NOTE if accessing this in a localhost configuration fails with "CORS request
8// did not succeed", you might need to visit localhost:3001 or whatever
9// did not succeed", you might need to visit localhost:3001 or whatever
@@ -49,6 +50,7 @@ const ensureFundsFor = async (
53 signedTxs,
55 signedTxs,
54 askForFunding,
56 askForFunding,
@@ -66,6 +68,11 @@ const ensureFundsFor = async (
66 return false;
68 return false;
71+ if (walletType === WALLET_TYPES.METAMASK) {
72+ console.log('tank: disabling for metamask login');
70 // TODO: if we can't always (easily) provide a point, and the
77 // TODO: if we can't always (easily) provide a point, and the
71 // fundTransactions call is gonna fail anyway, should we maybe
78 // fundTransactions call is gonna fail anyway, should we maybe