common: drop accessors for Value.Val
I don't see why we would need two different accessors for a public field.
This commit is contained in:
@ -112,7 +112,7 @@ func Encode(object interface{}) []byte {
|
||||
if object != nil {
|
||||
switch t := object.(type) {
|
||||
case *Value:
|
||||
buff.Write(Encode(t.Raw()))
|
||||
buff.Write(Encode(t.Val))
|
||||
case RlpEncodable:
|
||||
buff.Write(Encode(t.RlpData()))
|
||||
// Code dup :-/
|
||||
|
Reference in New Issue
Block a user