StateAt returns a new mutable state(public) based on a particular point in time.
(root common.Hash)
| 526 | |
| 527 | // StateAt returns a new mutable state(public) based on a particular point in time. |
| 528 | func (bc *BlockChain) StateAt(root common.Hash) (*state.StateDB, error) { |
| 529 | return state.New(root, bc.stateCache) |
| 530 | } |
| 531 | |
| 532 | // StatePrivAt returns a new mutable private state based on a particular point in time. |
| 533 | func (bc *BlockChain) StatePrivAt(root common.Hash) (*state.StateDB, error) { |