diff options
author | Jeffrey Wilcke <jeffrey@ethereum.org> | 2015-11-06 20:10:28 +0800 |
---|---|---|
committer | Jeffrey Wilcke <jeffrey@ethereum.org> | 2015-11-06 20:10:28 +0800 |
commit | da6696862eff91736ec9a694026a14f984f85f57 (patch) | |
tree | 7feb515a65edf50ad5db984723aeef2c2463bee6 /rpc/api/utils.go | |
parent | 6d09468cabad74b3b1efabf7ad5a965bdb1aa04a (diff) | |
parent | 6e5349880e79b8321ae311d824493e4581039d30 (diff) | |
download | go-tangerine-da6696862eff91736ec9a694026a14f984f85f57.tar go-tangerine-da6696862eff91736ec9a694026a14f984f85f57.tar.gz go-tangerine-da6696862eff91736ec9a694026a14f984f85f57.tar.bz2 go-tangerine-da6696862eff91736ec9a694026a14f984f85f57.tar.lz go-tangerine-da6696862eff91736ec9a694026a14f984f85f57.tar.xz go-tangerine-da6696862eff91736ec9a694026a14f984f85f57.tar.zst go-tangerine-da6696862eff91736ec9a694026a14f984f85f57.zip |
Merge pull request #1974 from karalabe/fix-rpc-regression
rpc/api: fix #1972 api regression (nil eth panic) in attach
Diffstat (limited to 'rpc/api/utils.go')
-rw-r--r-- | rpc/api/utils.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rpc/api/utils.go b/rpc/api/utils.go index 6dde4022b..5a3ade46b 100644 --- a/rpc/api/utils.go +++ b/rpc/api/utils.go @@ -165,7 +165,7 @@ func ParseApiString(apistr string, codec codec.Codec, xeth *xeth.XEth, eth *eth. for i, name := range names { switch strings.ToLower(strings.TrimSpace(name)) { case shared.AdminApiName: - apis[i] = NewAdminApi(xeth, eth.Network(), eth, codec) + apis[i] = NewAdminApi(xeth, eth, codec) case shared.DebugApiName: apis[i] = NewDebugApi(xeth, eth, codec) case shared.DbApiName: |