mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2025-05-10 09:12:25 +00:00
Merge pull request #1701 from nspcc-dev/statemsg
Update state-root handling
This commit is contained in:
commit
e66d36900c
37 changed files with 1272 additions and 444 deletions
|
@ -87,7 +87,7 @@ func (bc *Blockchain) newBlock(txs ...*transaction.Transaction) *block.Block {
|
|||
}
|
||||
}
|
||||
if bc.config.StateRootInHeader {
|
||||
sr, err := bc.GetStateRoot(bc.BlockHeight())
|
||||
sr, err := bc.GetStateModule().GetStateRoot(bc.BlockHeight())
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue