diff options
author | Pieter Wuille <pieter.wuille@gmail.com> | 2015-01-04 17:15:02 +0100 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2015-01-07 13:11:54 +0100 |
commit | 008138c04a3242b72dc5128ac3585b50ac44e84e (patch) | |
tree | 96a36ddacec72f7ac091707424b28c59f2da6080 /src/leveldbwrapper.h | |
parent | 3022e7df2a3f2c6e9869877c189c7e7cea7d7b54 (diff) | |
download | bitcoin-008138c04a3242b72dc5128ac3585b50ac44e84e.tar.xz |
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.
Rebased-From: 1c52aad540ec1370db60fd68fc3485413e3cb8e1
Github-Pull: #5597
Diffstat (limited to 'src/leveldbwrapper.h')
0 files changed, 0 insertions, 0 deletions