Skip to content

Commit

Permalink
Merge pull request #2951 from sqrrm/dump-dao-data-fix
Browse files Browse the repository at this point in the history
Don't dump blockchain data during initial parsing
  • Loading branch information
sqrrm authored Jul 12, 2019
2 parents 3c1e236 + b623092 commit 64367b4
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,8 @@ public void shutDown() {
}

public void maybeExportToJson() {
if (dumpBlockchainData) {
if (dumpBlockchainData &&
daoStateService.isParseBlockChainComplete()) {
// We store the data we need once we write the data to disk (in the thread) locally.
// Access to daoStateService is single threaded, we must not access daoStateService from the thread.
List<JsonTxOutput> allJsonTxOutputs = new ArrayList<>();
Expand Down

0 comments on commit 64367b4

Please sign in to comment.