diff options
author | Péter Szilágyi <peterke@gmail.com> | 2016-06-30 17:57:50 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-06-30 17:57:50 +0800 |
commit | 1e50f5dd281d28b8db1c65b9e80e53080b86e369 (patch) | |
tree | 30a0832e6f514fe06fe9308043eaa20d2ba44b13 /console/console_test.go | |
parent | f127799d795eaf2d6f99780c058361cd561492f1 (diff) | |
parent | 3a97280ae889bb6852ba16e70750a37b2ed08473 (diff) | |
download | go-tangerine-1e50f5dd281d28b8db1c65b9e80e53080b86e369.tar.gz go-tangerine-1e50f5dd281d28b8db1c65b9e80e53080b86e369.tar.zst go-tangerine-1e50f5dd281d28b8db1c65b9e80e53080b86e369.zip |
Merge pull request #2159 from zsfelfoldi/light-backend
eth: separate common and full node-specific API and backend service
Diffstat (limited to 'console/console_test.go')
-rw-r--r-- | console/console_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/console/console_test.go b/console/console_test.go index 7738d0c44..b40db0604 100644 --- a/console/console_test.go +++ b/console/console_test.go @@ -76,7 +76,7 @@ func (p *hookedPrompter) SetWordCompleter(completer WordCompleter) {} type tester struct { workspace string stack *node.Node - ethereum *eth.Ethereum + ethereum *eth.FullNodeService console *Console input *hookedPrompter output *bytes.Buffer @@ -134,7 +134,7 @@ func newTester(t *testing.T, confOverride func(*eth.Config)) *tester { t.Fatalf("failed to create JavaScript console: %v", err) } // Create the final tester and return - var ethereum *eth.Ethereum + var ethereum *eth.FullNodeService stack.Service(ðereum) return &tester{ |