diff options
author | Péter Szilágyi <peterke@gmail.com> | 2017-04-25 19:31:15 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2017-04-25 19:53:50 +0800 |
commit | e61035c5a3630e4f6fd0fb3e5346a4eed8cedc80 (patch) | |
tree | 9dd32e8fb794b4950313ae2b2cd5499bb60dc4cd /internal | |
parent | ba3bcd16a6d99bc0e58516556df8e96b730c2d60 (diff) | |
download | dexon-e61035c5a3630e4f6fd0fb3e5346a4eed8cedc80.tar.gz dexon-e61035c5a3630e4f6fd0fb3e5346a4eed8cedc80.tar.zst dexon-e61035c5a3630e4f6fd0fb3e5346a4eed8cedc80.zip |
cmd, eth, les, mobile: make networkid uint64 everywhere
Diffstat (limited to 'internal')
-rw-r--r-- | internal/ethapi/api.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/ethapi/api.go b/internal/ethapi/api.go index f0bc3aa4b..f9eed8797 100644 --- a/internal/ethapi/api.go +++ b/internal/ethapi/api.go @@ -1435,11 +1435,11 @@ func (api *PrivateDebugAPI) SetHead(number hexutil.Uint64) { // PublicNetAPI offers network related RPC methods type PublicNetAPI struct { net *p2p.Server - networkVersion int + networkVersion uint64 } // NewPublicNetAPI creates a new net API instance. -func NewPublicNetAPI(net *p2p.Server, networkVersion int) *PublicNetAPI { +func NewPublicNetAPI(net *p2p.Server, networkVersion uint64) *PublicNetAPI { return &PublicNetAPI{net, networkVersion} } |