diff options
author | Gavin Andresen <gavinandresen@gmail.com> | 2011-04-12 17:27:15 -0400 |
---|---|---|
committer | Gavin Andresen <gavinandresen@gmail.com> | 2011-04-12 17:27:15 -0400 |
commit | d89d456655f03159a32e6a4a9df22bfe02d403d6 (patch) | |
tree | b8a1976fdcc4b55297d66845911dd39b42ef248e /main.cpp | |
parent | 79706a8e48a043b9ca83216ba9cbb7413e81710d (diff) | |
parent | c59b6f704cd8f42e1943f124f435363bfff244f5 (diff) |
Merge branch 'spentpertxout' of https://github.com/sipa/bitcoin
Diffstat (limited to 'main.cpp')
-rw-r--r-- | main.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -958,6 +958,8 @@ void ReacceptWalletTransactions() } for (int i = 0; i < txindex.vSpent.size(); i++) { + if (wtx.IsSpent(i)) + continue; if (!txindex.vSpent[i].IsNull() && wtx.vout[i].IsMine()) { wtx.MarkSpent(i); |