diff options
| author | Wladimir J. van der Laan <[email protected]> | 2011-06-18 18:42:13 +0200 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2011-07-07 15:18:35 +0200 |
| commit | 42c405ad2340c11c769643ab8aee5e6ab118d2a1 (patch) | |
| tree | 6fa28271ee08848e20815586c7551f7fe9223ba6 /src/wallet.cpp | |
| parent | CKeyStore::AddKey must return a boolean (diff) | |
| download | discoin-42c405ad2340c11c769643ab8aee5e6ab118d2a1.tar.xz discoin-42c405ad2340c11c769643ab8aee5e6ab118d2a1.zip | |
temp patch for qtui
Diffstat (limited to 'src/wallet.cpp')
| -rw-r--r-- | src/wallet.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wallet.cpp b/src/wallet.cpp index 6ef75ef27..5b88f387c 100644 --- a/src/wallet.cpp +++ b/src/wallet.cpp @@ -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); |