aboutsummaryrefslogtreecommitdiffstats
path: root/ethdb/database.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-03-16 18:27:38 +0800
committerobscuren <geffobscura@gmail.com>2015-03-16 18:27:38 +0800
commitb5234413611ce5984292f85a01de1f56c045b490 (patch)
treee6e0c6f7fe8358a2dc63cdea11ac66b4f59397f5 /ethdb/database.go
parent0b8f66ed9ef177dc72442dd7ba337c6733e30344 (diff)
downloaddexon-b5234413611ce5984292f85a01de1f56c045b490.tar
dexon-b5234413611ce5984292f85a01de1f56c045b490.tar.gz
dexon-b5234413611ce5984292f85a01de1f56c045b490.tar.bz2
dexon-b5234413611ce5984292f85a01de1f56c045b490.tar.lz
dexon-b5234413611ce5984292f85a01de1f56c045b490.tar.xz
dexon-b5234413611ce5984292f85a01de1f56c045b490.tar.zst
dexon-b5234413611ce5984292f85a01de1f56c045b490.zip
Moved ethutil => common
Diffstat (limited to 'ethdb/database.go')
-rw-r--r--ethdb/database.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/ethdb/database.go b/ethdb/database.go
index 4e3d01da0..cc2df5fa0 100644
--- a/ethdb/database.go
+++ b/ethdb/database.go
@@ -4,7 +4,7 @@ import (
"fmt"
"github.com/ethereum/go-ethereum/compression/rle"
- "github.com/ethereum/go-ethereum/ethutil"
+ "github.com/ethereum/go-ethereum/common"
"github.com/syndtr/goleveldb/leveldb"
"github.com/syndtr/goleveldb/leveldb/iterator"
)
@@ -82,7 +82,7 @@ func (self *LDBDatabase) Print() {
value := iter.Value()
fmt.Printf("%x(%d): ", key, len(key))
- node := ethutil.NewValueFromBytes(value)
+ node := common.NewValueFromBytes(value)
fmt.Printf("%v\n", node)
}
}