From fc18c4812cea7993fa204619be8f246c96485cec Mon Sep 17 00:00:00 2001 From: BhuzOr Date: Sun, 4 Jun 2017 15:04:20 +0200 Subject: [PATCH] Fix for `block_num != 0` Backport from Steem/BitShares Some info here: https://github.com/bitshares/bitshares-core/issues/273 --- libraries/app/application.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libraries/app/application.cpp b/libraries/app/application.cpp index b7467d78..bba2f525 100644 --- a/libraries/app/application.cpp +++ b/libraries/app/application.cpp @@ -833,6 +833,9 @@ namespace detail { if (high_block_num == 0) return synopsis; // we have no blocks } + + if( low_block_num == 0) + low_block_num = 1; // at this point: // low_block_num is the block before the first block we can undo,