aboutsummaryrefslogtreecommitdiff
path: root/src/qt/paymentrequestplus.cpp
diff options
context:
space:
mode:
authorGavin Andresen <[email protected]>2013-10-29 11:16:27 +1000
committerGavin Andresen <[email protected]>2013-10-29 11:20:14 +1000
commitd5d1425657d0dd2dc76f4938c8141a387a81a5a8 (patch)
tree5083c171ee7a73e0c7ab6956987c23ddc2cf08af /src/qt/paymentrequestplus.cpp
parentMerge pull request #3164 from TheBlueMatt/master (diff)
downloaddiscoin-d5d1425657d0dd2dc76f4938c8141a387a81a5a8.tar.xz
discoin-d5d1425657d0dd2dc76f4938c8141a387a81a5a8.zip
Bug fix: CDataStream::GetAndClear() when nReadPos > 0
Changed CDataStream::GetAndClear() to use the most obvious get get and clear instead of a tricky swap(). Added a unit test for CDataStream insert/erase/GetAndClear. Note: GetAndClear() is not performance critical, it is used only by the send-a-message-to-the-network code. Bug was not noticed before now because the send-a-message code never erased from the stream.
Diffstat (limited to 'src/qt/paymentrequestplus.cpp')
0 files changed, 0 insertions, 0 deletions