aboutsummaryrefslogtreecommitdiffstats
path: root/core/state/state_test.go
diff options
context:
space:
mode:
authorGustav Simonsson <gustav.simonsson@gmail.com>2016-09-19 14:07:20 +0800
committerGustav Simonsson <gustav.simonsson@gmail.com>2016-09-19 14:16:58 +0800
commitb6b17e5648ba2d8298d41c384d89caf82a27b271 (patch)
tree606a2e6198b71ff9aa7f940847bac8f0cc07b57b /core/state/state_test.go
parent88b012ad3b470391ba5bfb99da3775bde775e915 (diff)
downloadgo-tangerine-b6b17e5648ba2d8298d41c384d89caf82a27b271.tar.gz
go-tangerine-b6b17e5648ba2d8298d41c384d89caf82a27b271.tar.zst
go-tangerine-b6b17e5648ba2d8298d41c384d89caf82a27b271.zip
core/state, light: remove unused StateObject.initCode
Diffstat (limited to 'core/state/state_test.go')
-rw-r--r--core/state/state_test.go3
1 files changed, 0 insertions, 3 deletions
diff --git a/core/state/state_test.go b/core/state/state_test.go
index 5a6cb0b50..69cf083cf 100644
--- a/core/state/state_test.go
+++ b/core/state/state_test.go
@@ -200,9 +200,6 @@ func compareStateObjects(so0, so1 *StateObject, t *testing.T) {
if !bytes.Equal(so0.code, so1.code) {
t.Fatalf("Code mismatch: have %v, want %v", so0.code, so1.code)
}
- if !bytes.Equal(so0.initCode, so1.initCode) {
- t.Fatalf("InitCode mismatch: have %v, want %v", so0.initCode, so1.initCode)
- }
for k, v := range so1.storage {
if so0.storage[k] != v {