aboutsummaryrefslogtreecommitdiffstats
path: root/console
diff options
context:
space:
mode:
authorzsfelfoldi <zsfelfoldi@gmail.com>2015-12-16 11:26:23 +0800
committerzsfelfoldi <zsfelfoldi@gmail.com>2016-06-16 23:36:38 +0800
commit3a97280ae889bb6852ba16e70750a37b2ed08473 (patch)
tree41e078895ddd76fe81b323539046b7d9df8b17b3 /console
parenta38be3eb488a349693a9c9905ab015278281f8db (diff)
downloadgo-tangerine-3a97280ae889bb6852ba16e70750a37b2ed08473.tar
go-tangerine-3a97280ae889bb6852ba16e70750a37b2ed08473.tar.gz
go-tangerine-3a97280ae889bb6852ba16e70750a37b2ed08473.tar.bz2
go-tangerine-3a97280ae889bb6852ba16e70750a37b2ed08473.tar.lz
go-tangerine-3a97280ae889bb6852ba16e70750a37b2ed08473.tar.xz
go-tangerine-3a97280ae889bb6852ba16e70750a37b2ed08473.tar.zst
go-tangerine-3a97280ae889bb6852ba16e70750a37b2ed08473.zip
eth: separate common and full node-specific API and backend service
Diffstat (limited to 'console')
-rw-r--r--console/console_test.go4
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(&ethereum)
return &tester{