From b5234413611ce5984292f85a01de1f56c045b490 Mon Sep 17 00:00:00 2001 From: obscuren Date: Mon, 16 Mar 2015 11:27:38 +0100 Subject: Moved ethutil => common --- state/log.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'state/log.go') diff --git a/state/log.go b/state/log.go index d503bd1a0..a0859aaf2 100644 --- a/state/log.go +++ b/state/log.go @@ -3,11 +3,11 @@ package state import ( "fmt" - "github.com/ethereum/go-ethereum/ethutil" + "github.com/ethereum/go-ethereum/common" ) type Log interface { - ethutil.RlpEncodable + common.RlpEncodable Address() []byte Topics() [][]byte @@ -43,7 +43,7 @@ func (self *StateLog) Number() uint64 { return self.number } -func NewLogFromValue(decoder *ethutil.Value) *StateLog { +func NewLogFromValue(decoder *common.Value) *StateLog { log := &StateLog{ address: decoder.Get(0).Bytes(), data: decoder.Get(2).Bytes(), @@ -58,7 +58,7 @@ func NewLogFromValue(decoder *ethutil.Value) *StateLog { } func (self *StateLog) RlpData() interface{} { - return []interface{}{self.address, ethutil.ByteSliceToInterface(self.topics), self.data} + return []interface{}{self.address, common.ByteSliceToInterface(self.topics), self.data} } func (self *StateLog) String() string { -- cgit v1.2.3