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/cryptonote_core/blockchain_db.h | |
parent | Merge pull request #20 from warptangent/fix_transfers (diff) | |
download | monero-1701c267502c32af64212d8e496cbdb6f3bc00df.tar.xz |
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/cryptonote_core/blockchain_db.h')
0 files changed, 0 insertions, 0 deletions