aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2015-01-04 17:15:02 +0100
committerPieter Wuille <pieter.wuille@gmail.com>2015-01-04 17:16:43 +0100
commit02bced16615f072b1d9960e7e5027b6eb4f41384 (patch)
tree6d01fd4fbce3783a289dfb4d637b0b570398eb0c /src/main.cpp
parenta99ef7d3533b5685bd871365b4574aa4d8e0ca20 (diff)
Bugfix: only track UTXO modification after lookup
Otherwise, if CCoinsViewCache::ModifyCoins throws an exception in between setting hasModifier and constructing the CCoinsModifier, the cache ends up in an inconsistent state, resulting in an assert failure in the next modification. Bug discovered by Wladimir J. van der Laan.
Diffstat (limited to 'src/main.cpp')
0 files changed, 0 insertions, 0 deletions