mirror of
https://github.com/status-im/ethereumj-personal.git
synced 2025-01-11 12:24:13 +00:00
Remove call to WorldManager in Block constructor
This commit is contained in:
parent
5db586b911
commit
2e7c40d6dc
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user