diff options
| author | Karl-Johan Alm <[email protected]> | 2018-05-21 12:37:44 +0900 |
|---|---|---|
| committer | Karl-Johan Alm <[email protected]> | 2018-06-11 19:04:55 +0900 |
| commit | 46847d69d2c1cc908fd779daac7884e365955dbd (patch) | |
| tree | 03b2ab8a66fcf7a3f09f99d087faaed4ba0d7e75 /src/httpserver.cpp | |
| parent | mempool: Add explicit max_descendants (diff) | |
| download | discoin-46847d69d2c1cc908fd779daac7884e365955dbd.tar.xz discoin-46847d69d2c1cc908fd779daac7884e365955dbd.zip | |
mempool: Fix max descendants check
The chain limits check for max descendants would check the descendants of the transaction itself even though the description for -limitdescendantcount says 'any ancestor'. This commit corrects the descendant count check by finding the top parent transaction in the mempool and comparing against that.
Diffstat (limited to 'src/httpserver.cpp')
0 files changed, 0 insertions, 0 deletions