temp patch for qtui

This commit is contained in:
Wladimir J. van der Laan
2011-06-18 18:42:13 +02:00
parent 33c75fd9aa
commit 42c405ad23
9 changed files with 72 additions and 24 deletions

View File

@@ -91,7 +91,7 @@ bool CWallet::AddToWallet(const CWalletTx& wtxIn)
if (fInsertedNew || fUpdated)
if (!wtx.WriteToDisk())
return false;
#ifndef QT_GUI
// If default receiving address gets used, replace it with a new one
CScript scriptDefaultKey;
scriptDefaultKey.SetBitcoinAddress(vchDefaultKey);
@@ -100,7 +100,7 @@ bool CWallet::AddToWallet(const CWalletTx& wtxIn)
if (txout.scriptPubKey == scriptDefaultKey)
SetDefaultKey(GetKeyFromKeyPool());
}
#endif
// Notify UI
vWalletUpdated.push_back(hash);