git://git.novaco.in
/
novacoin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
79706a8
)
Merge branch 'spentpertxout' of https://github.com/sipa/bitcoin
author
Gavin Andresen
<gavinandresen@gmail.com>
Tue, 12 Apr 2011 21:27:15 +0000 (17:27 -0400)
committer
Gavin Andresen
<gavinandresen@gmail.com>
Tue, 12 Apr 2011 21:27:15 +0000 (17:27 -0400)
main.cpp
patch
|
blob
|
history
diff --git
a/main.cpp
b/main.cpp
index
17a1b81
..
1c2292b
100644
(file)
--- a/
main.cpp
+++ b/
main.cpp
@@
-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);