diff options
author | Jonas Schnelli <dev@jonasschnelli.ch> | 2019-06-13 13:34:05 +0200 |
---|---|---|
committer | Jonas Schnelli <dev@jonasschnelli.ch> | 2019-06-13 13:34:18 +0200 |
commit | 431d81b61ca968da2d7c25f0d56455a44cd46fed (patch) | |
tree | 9ac19e5e11958146894e29f67d129a2192a8516e /test/functional/wallet_import_rescan.py | |
parent | afab1312c5e151b8688ef62da8c4e7c4f542a1f4 (diff) | |
parent | f402012ccfc596d7d94851dabbf386c278ff5335 (diff) |
Merge #15991: Bugfix: fix pruneblockchain returned prune height
f402012cc fixup: Fix prunning test (João Barbosa)
97f517dd8 Fix RPC/pruneblockchain returned prune height (Jonas Schnelli)
Pull request description:
The help of `pruneblockchain` tells us that the return value is `Height of the last block pruned.`,... but the implementation naively returns the provided input `height` and therefore not respecting that pruning can't be done on all possible blockheight due to the fact that we only prune complete blockfiles (which combine multiple blocks).
This fixes the return value to actually return the correct prune height.
ACKs for commit f40201:
MarcoFalke:
ACK f402012ccfc596d7d94851dabbf386c278ff5335
Tree-SHA512: 88c910030ffb83196663e5ebebc29d036fcdbbb2ab266e4538991867924a61bacd8361c1fbf294a0ea7e02347ae183d792f10a10b8f6187e8a4c4c6e4124d7e6
Diffstat (limited to 'test/functional/wallet_import_rescan.py')
0 files changed, 0 insertions, 0 deletions