aboutsummaryrefslogtreecommitdiff
path: root/src/common/base58.cpp
diff options
context:
space:
mode:
authorwarptangent <warptangent@inbox.com>2015-01-11 16:59:59 -0800
committerwarptangent <warptangent@inbox.com>2015-01-11 19:57:46 -0800
commit1701c267502c32af64212d8e496cbdb6f3bc00df (patch)
treed49e76241a2d4b683d3129d37263c3126b03c480 /src/common/base58.cpp
parent030eab7a49ee3846e7591edd81cf56737c850ef3 (diff)
downloadmonzero-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/base58.cpp')
0 files changed, 0 insertions, 0 deletions