diff options
author | zsfelfoldi <zsfelfoldi@gmail.com> | 2015-12-16 11:26:23 +0800 |
---|---|---|
committer | zsfelfoldi <zsfelfoldi@gmail.com> | 2016-06-16 23:36:38 +0800 |
commit | 3a97280ae889bb6852ba16e70750a37b2ed08473 (patch) | |
tree | 41e078895ddd76fe81b323539046b7d9df8b17b3 /common | |
parent | a38be3eb488a349693a9c9905ab015278281f8db (diff) | |
download | dexon-3a97280ae889bb6852ba16e70750a37b2ed08473.tar.gz dexon-3a97280ae889bb6852ba16e70750a37b2ed08473.tar.zst dexon-3a97280ae889bb6852ba16e70750a37b2ed08473.zip |
eth: separate common and full node-specific API and backend service
Diffstat (limited to 'common')
-rw-r--r-- | common/natspec/natspec_e2e_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/natspec/natspec_e2e_test.go b/common/natspec/natspec_e2e_test.go index 255260576..ac0bbe784 100644 --- a/common/natspec/natspec_e2e_test.go +++ b/common/natspec/natspec_e2e_test.go @@ -99,7 +99,7 @@ const ( type testFrontend struct { t *testing.T - ethereum *eth.Ethereum + ethereum *eth.FullNodeService xeth *xe.XEth wait chan *big.Int lastConfirm string @@ -123,7 +123,7 @@ func (self *testFrontend) ConfirmTransaction(tx string) bool { return true } -func testEth(t *testing.T) (ethereum *eth.Ethereum, err error) { +func testEth(t *testing.T) (ethereum *eth.FullNodeService, err error) { tmp, err := ioutil.TempDir("", "natspec-test") if err != nil { |