diff options
| author | warptangent <warptangent@inbox.com> | 2015-01-11 16:59:59 -0800 |
|---|---|---|
| committer | warptangent <warptangent@inbox.com> | 2015-01-11 19:57:46 -0800 |
| commit | 1701c267502c32af64212d8e496cbdb6f3bc00df (patch) | |
| tree | d49e76241a2d4b683d3129d37263c3126b03c480 /src/common | |
| parent | 030eab7a49ee3846e7591edd81cf56737c850ef3 (diff) | |
| download | monzero-core-1701c267502c32af64212d8e496cbdb6f3bc00df.tar.gz monzero-core-1701c267502c32af64212d8e496cbdb6f3bc00df.tar.xz monzero-core-1701c267502c32af64212d8e496cbdb6f3bc00df.zip | |
Use block index when obtaining block's difficulty for log statement
Use last block id, not number of blocks (off-by-one error).
Fixes error at start of blockchain reorganization: "Attempt to get
cumulative difficulty from height <XXXXXX> failed -- difficulty not in
db"
Diffstat (limited to 'src/common')
0 files changed, 0 insertions, 0 deletions
