diff options
| author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2018-10-19 09:20:03 +0000 |
|---|---|---|
| committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2018-10-19 09:22:35 +0000 |
| commit | b916ca63a8b28a38bd791f0317ec5b5765bb8686 (patch) | |
| tree | 841e0d75ce69ba48567a518c8cfba9c18d3c7a5a /src/common/error.cpp | |
| parent | 5c85da5a73424017ea9c340a0412f90356d77358 (diff) | |
| download | monzero-core-b916ca63a8b28a38bd791f0317ec5b5765bb8686.tar.gz monzero-core-b916ca63a8b28a38bd791f0317ec5b5765bb8686.tar.xz monzero-core-b916ca63a8b28a38bd791f0317ec5b5765bb8686.zip | |
rpc: fix output distribution caching ignoring chain changes
0 is placeholder for whole chain, so we should compare chain
height changes rather than chain-height-or-zero. Even this isn't
totally foolproof if a blocks are popped and the same number
added again, but it is much better as it prevents the data from
slowly going out of sync.
Diffstat (limited to 'src/common/error.cpp')
0 files changed, 0 insertions, 0 deletions
