mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-12-20 04:36:08 +01:00
Remove direct bitcoin calls from qt/paymentserver.cpp
This commit is contained in:
committed by
John Newbery
parent
3ec2ebcd9b
commit
3cab2ce5f9
@@ -476,8 +476,8 @@ void BitcoinApplication::initializeResult(bool success)
|
||||
fFirstWallet = false;
|
||||
}
|
||||
|
||||
connect(walletModel, SIGNAL(coinsSent(CWallet*,SendCoinsRecipient,QByteArray)),
|
||||
paymentServer, SLOT(fetchPaymentACK(CWallet*,const SendCoinsRecipient&,QByteArray)));
|
||||
connect(walletModel, SIGNAL(coinsSent(WalletModel*,SendCoinsRecipient,QByteArray)),
|
||||
paymentServer, SLOT(fetchPaymentACK(WalletModel*,const SendCoinsRecipient&,QByteArray)));
|
||||
|
||||
m_wallet_models.push_back(walletModel);
|
||||
}
|
||||
@@ -638,7 +638,7 @@ int main(int argc, char *argv[])
|
||||
}
|
||||
#ifdef ENABLE_WALLET
|
||||
// Parse URIs on command line -- this can affect Params()
|
||||
PaymentServer::ipcParseCommandLine(argc, argv);
|
||||
PaymentServer::ipcParseCommandLine(*node, argc, argv);
|
||||
#endif
|
||||
|
||||
QScopedPointer<const NetworkStyle> networkStyle(NetworkStyle::instantiate(QString::fromStdString(Params().NetworkIDString())));
|
||||
|
||||
Reference in New Issue
Block a user