# Problems Displaying Blockchain in Forging Mode After Exception

**URL:** <https://talk.jelurida.com/t/problems-displaying-blockchain-in-forging-mode-after-exception/280>\
**Category:** Developers\
**Created:** [19 April 2021 01:08 UTC](https://talk.jelurida.com/t/problems-displaying-blockchain-in-forging-mode-after-exception/280 "2021-04-19T01:08:14Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![petko.petkov](https://talk.jelurida.com/letter_avatar_proxy/v4/letter/p/eb8c5e/32.png) [@petko.petkov](https://talk.jelurida.com/u/petko.petkov)\
**Post date:** [27 April 2021 10:03 UTC](https://talk.jelurida.com/t/problems-displaying-blockchain-in-forging-mode-after-exception/280/10 "2021-04-27T10:03:13Z")

</div>

We will fix it in the next release. For now you can fix it on your side by adding

`BlockDb.commit(block);`

after

`accept(block, validPhasedTransactions, invalidPhasedTransactions, duplicates);`

in BlockchainProcessorImpl.pushBlock

Here's a patch

```
Index: src/java/nxt/BlockchainProcessorImpl.java
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
diff --git a/src/java/nxt/BlockchainProcessorImpl.java b/src/java/nxt/BlockchainProcessorImpl.java
--- a/src/java/nxt/BlockchainProcessorImpl.java	(revision 688b34d9f75e604da2614d3b9a8d3d08ecd2b7cb)
+++ b/src/java/nxt/BlockchainProcessorImpl.java	(revision fc159da0d8b155e6aa9a92539ec382901c756eff)
@@ -1366,7 +1366,7 @@
                 try {
                     addBlock(block);
                     accept(block, validPhasedTransactions, invalidPhasedTransactions, duplicates);
-
+ BlockDb.commit(block);
                     Db.db.commitTransaction();
                 } catch (Exception e) {
                     Logger.logInfoMessage("Failed to accept an already validated block", e);
```

---

_[View the full topic](https://talk.jelurida.com/t/problems-displaying-blockchain-in-forging-mode-after-exception/280)._
