@@ -3,6 +3,7 @@
33import retry from 'async-retry';
44import { toBN } from 'web3-utils';
55import { RETRY_OPTIONS, waitForTransactionConfirm } from './txn';
6+import { WALLET_TYPES } from 'lib/wallet';
67
78//NOTE if accessing this in a localhost configuration fails with "CORS request
89// did not succeed", you might need to visit localhost:3001 or whatever
@@ -49,6 +50,7 @@ const ensureFundsFor = async (
4950 web3,
5051 point,
5152 address,
53+ walletType,
5254 cost,
5355 signedTxs,
5456 askForFunding,
@@ -66,6 +68,11 @@ const ensureFundsFor = async (
6668 return false;
6769 }
6870
71+ if (walletType === WALLET_TYPES.METAMASK) {
72+ console.log('tank: disabling for metamask login');
73+
74+ return false;
75+ }
6976 try {
7077 // TODO: if we can't always (easily) provide a point, and the
7178 // fundTransactions call is gonna fail anyway, should we maybe