diff options
author | Russell Yanofsky <russ@yanofsky.org> | 2017-02-02 15:30:03 -0500 |
---|---|---|
committer | Russell Yanofsky <russ@yanofsky.org> | 2018-03-07 21:12:47 -0500 |
commit | a128bdc9e15dec5cd9aed1e4922c938edf31eb9a (patch) | |
tree | de47f034c0d08e96d53b0190d34ba48cceeccaf6 /src/txdb.cpp | |
parent | 29fad97c320c892ab6a480c81e2078ec22ab354b (diff) |
[wallet] Construct CWalletTx objects in CommitTransaction
Construct CWalletTx objects in CWallet::CommitTransaction, instead of having
callers do it. This ensures CWalletTx objects are constructed in a uniform way
and all fields are set.
This also makes it possible to avoid confusing and wasteful CWalletTx copies in
https://github.com/bitcoin/bitcoin/pull/9381
There is no change in behavior.
Diffstat (limited to 'src/txdb.cpp')
0 files changed, 0 insertions, 0 deletions