diff options
author | Felix Lange <fjl@twurst.com> | 2015-03-20 20:33:11 +0800 |
---|---|---|
committer | Felix Lange <fjl@twurst.com> | 2015-03-20 21:00:26 +0800 |
commit | c161d73d429ef421cdb9c75b743c16d72aa8a89a (patch) | |
tree | 266404447d1e2843b347e11892ff393aabd61a23 /ethdb | |
parent | dcb9614dfec3c8dcaaa47e9fa516528fdc47279b (diff) | |
download | go-tangerine-c161d73d429ef421cdb9c75b743c16d72aa8a89a.tar.gz go-tangerine-c161d73d429ef421cdb9c75b743c16d72aa8a89a.tar.zst go-tangerine-c161d73d429ef421cdb9c75b743c16d72aa8a89a.zip |
common: drop accessors for Value.Val
I don't see why we would need two different accessors for a public field.
Diffstat (limited to 'ethdb')
-rw-r--r-- | ethdb/memory_database.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ethdb/memory_database.go b/ethdb/memory_database.go index d914f47f8..d4988d0d8 100644 --- a/ethdb/memory_database.go +++ b/ethdb/memory_database.go @@ -49,7 +49,7 @@ func (db *MemDatabase) Print() { for key, val := range db.db { fmt.Printf("%x(%d): ", key, len(key)) node := common.NewValueFromBytes(val) - fmt.Printf("%q\n", node.Interface()) + fmt.Printf("%q\n", node.Val) } } |