src/mainwindow.cpp
// Callback invoked when the RPC has finished loading all the balances, and the UI
// is now ready to send transactions.
Callback invoked when the RPC has finished loading all the balances, and the UI
is now ready to send transactions.
Callback invoked when the RPC has finished loading all the balances and the UI is now ready to send transactions .
void MainWindow::balancesReady() {
    if (uiPaymentsReady)
        return;
    uiPaymentsReady = true;
    qDebug() << "Payment UI now ready!";
    if (!pendingURIPayment.isEmpty()) {
        qDebug() << "Paying hush URI";
        payZcashURI(pendingURIPayment);
        pendingURIPayment = "";
    }
}
void MainWindow :: balancesReady ( ) { if ( uiPaymentsReady ) return ; uiPaymentsReady = true ; qDebug ( ) << " " ; if ( ! pendingURIPayment . isEmpty ( ) ) { qDebug ( ) << " " ; payZcashURI ( pendingURIPayment ) ; pendingURIPayment = " " ; } }
Callback invoked when the RPC has finished loading all the balances, and the UI
is now ready to send transactions.
Callback invoked when the RPC has finished loading all the balances and the UI is now ready to send transactions .
// First-time check // There is a pending URI payment (from the command line, or from a secondary instance), // process it.