diff options
author | lucash.dev@gmail.com <lucash.dev@gmail.com> | 2018-06-05 21:38:14 -0700 |
---|---|---|
committer | lucash.dev@gmail.com <lucash.dev@gmail.com> | 2018-06-06 06:50:25 -0700 |
commit | ebebedce2094ac202bdfdf4b13fed562d35d161d (patch) | |
tree | fe0f1c2b387c3c3f75898de55def923fc5025c99 /test/functional | |
parent | a589f536b5e15daf3ac6ffcc137a146514c81967 (diff) | |
download | bitcoin-ebebedce2094ac202bdfdf4b13fed562d35d161d.tar.xz |
speed up of tx_validationcache_tests by reusing of CTransaction.
The code was converting CMutableTransaction to CTransaction multiple times, which implies recalculating the hash multiple times. This commit fixes this by reusing a single CTransaction.
Diffstat (limited to 'test/functional')
0 files changed, 0 insertions, 0 deletions