Remove call to WorldManager in Block constructor

This commit is contained in:
nicksavers 2014-08-03 21:50:09 +02:00
parent 5db586b911
commit 2e7c40d6dc
1 changed files with 0 additions and 3 deletions

View File

@ -73,9 +73,6 @@ public class Block {
timestamp, extraData, nonce);
this.txsState = new Trie(null);
byte[] stateRoot = WorldManager.getInstance().getRepository().getRootHash();
this.header.setStateRoot(stateRoot);
this.header.setTxTrieRoot(txsState.getRootHash());
this.transactionsList = transactionsList;
this.uncleList = uncleList;