 as a mining fee</p>`;
        $('.display').style.display = "block";
        $('#setup').style.display = "none";

        await loopTilAddressReceivesMoney(fundingAddress, true);
        await waitSomeSeconds(2);
        let txinfo = await addressReceivedMoneyInThisTx(fundingAddress);

        let txid = txinfo[0];
        let vout = txinfo[1];
        let amt = txinfo[2];

        console.log("yay! txid:", txid, "vout:", vout, "amount:", amt);

        $('.modal-content').innerHTML = '<div id="funds-msg">