forked from cerc-io/plugeth
common: remove old RLP implementation, Value and ExtPackage
In order to make this happen, kill all remaining trivial uses of
common/{rlp,value}.go. The non-trivial ones have been updated earlier.
This commit is contained in:
@@ -47,10 +47,6 @@ func (self *Object) StorageString(str string) []byte {
|
||||
}
|
||||
}
|
||||
|
||||
func (self *Object) StorageValue(addr *common.Value) []byte {
|
||||
return self.storage(addr.Bytes())
|
||||
}
|
||||
|
||||
func (self *Object) storage(addr []byte) []byte {
|
||||
return self.StateObject.GetState(common.BytesToHash(addr)).Bytes()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user