Commit 7c0a27a0 authored by obscuren's avatar obscuren

Added each callback for storage

parent 7a410643
......@@ -5,6 +5,7 @@ import (
"fmt"
"github.com/ethereum/eth-go/ethchain"
"github.com/ethereum/eth-go/ethcrypto"
"github.com/ethereum/eth-go/ethtrie"
"github.com/ethereum/eth-go/ethutil"
"strings"
)
......@@ -212,6 +213,10 @@ func (c *PStateObject) IsContract() bool {
return false
}
func (self *PStateObject) EachStorage(cb ethtrie.EachCallback) {
self.object.State().EachStorage(cb)
}
type KeyVal struct {
Key string
Value string
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment