@@ -115,7 +115,12 @@ async function waitForBalance(
115 resolve();
115 resolve();
117 if (balance !== oldBalance) {
117 if (balance !== oldBalance) {
118+ // TODO: minBalance is a `number` type
119+ // but we want to display ETH, which will never accept a number
120+ // but instead wants string or BN/BigNumber.
121+ // this will be heavily refactored to correctly do BN math, but until
122+ // then we'll manually convert this number to an integer string
118− askForFunding(address, minBalance, balance);
123+ askForFunding(address, minBalance.toFixed(), balance);
120 setTimeout(checkForBalance, 13000);
125 setTimeout(checkForBalance, 13000);