diff options
author | Felix Lange <fjl@twurst.com> | 2016-09-16 17:53:50 +0800 |
---|---|---|
committer | Felix Lange <fjl@twurst.com> | 2016-09-16 21:24:31 +0800 |
commit | b42a5b118f1aa7ac1235547c8594146978941401 (patch) | |
tree | 5a0a56308fe3137f1c9c69394281dadfc4551f37 /node/api.go | |
parent | eeb322ae649c4a1a32430cdddfffed70f509181e (diff) | |
download | dexon-b42a5b118f1aa7ac1235547c8594146978941401.tar.gz dexon-b42a5b118f1aa7ac1235547c8594146978941401.tar.zst dexon-b42a5b118f1aa7ac1235547c8594146978941401.zip |
common, node: move datadir defaults into package node
Diffstat (limited to 'node/api.go')
-rw-r--r-- | node/api.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/node/api.go b/node/api.go index 2942705d9..631e92c8e 100644 --- a/node/api.go +++ b/node/api.go @@ -84,7 +84,7 @@ func (api *PrivateAdminAPI) StartRPC(host *string, port *rpc.HexNumber, cors *st } if host == nil { - h := common.DefaultHTTPHost + h := DefaultHTTPHost if api.node.config.HTTPHost != "" { h = api.node.config.HTTPHost } @@ -133,7 +133,7 @@ func (api *PrivateAdminAPI) StartWS(host *string, port *rpc.HexNumber, allowedOr } if host == nil { - h := common.DefaultWSHost + h := DefaultWSHost if api.node.config.WSHost != "" { h = api.node.config.WSHost } |