aboutsummaryrefslogtreecommitdiff
path: root/src/txmempool.h
diff options
context:
space:
mode:
authorAmiti Uttarwar <amiti@uttarwar.org>2020-08-25 10:49:38 -0700
committerAmiti Uttarwar <amiti@uttarwar.org>2020-09-04 14:42:59 -0700
commita8a64acaf32ac21feeb885671772282b531ef9a2 (patch)
tree3c470d1029df55eeb3411e08485fa6f43a0372dc /src/txmempool.h
parent125c0381266e0e05a408f8e1818501ab73d29110 (diff)
downloadbitcoin-a8a64acaf32ac21feeb885671772282b531ef9a2.tar.xz
[BroadcastTransaction] Remove unsafe move operator
Previously, `tx` was being read after having `std::move` called on it. The std::move operator indicates to the compiler that this object may be "moved from", so we shouldn't subsequently read from it. The current code is not problematic since tx is passed in as a const ref. But this `std::move` is at best misleading & at worst problematic, so remove it.
Diffstat (limited to 'src/txmempool.h')
0 files changed, 0 insertions, 0 deletions