diff options
author | Péter Szilágyi <peterke@gmail.com> | 2018-01-24 16:55:24 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-24 16:55:24 +0800 |
commit | 5c83a4e5dd600fcf19502f7fb083dc0b6393f969 (patch) | |
tree | 889e789ef24b36bd1bc2094b1867d71698b2a542 /cmd | |
parent | 05ade19302357eba6a24348f31df140ce0eca326 (diff) | |
parent | 1bf508b449ebd42653f521ada92c782e8cb664d2 (diff) | |
download | dexon-5c83a4e5dd600fcf19502f7fb083dc0b6393f969.tar.gz dexon-5c83a4e5dd600fcf19502f7fb083dc0b6393f969.tar.zst dexon-5c83a4e5dd600fcf19502f7fb083dc0b6393f969.zip |
Merge pull request #15832 from karalabe/abigen-events
accounts/abi/bind: support event filtering in abigen
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/geth/config.go | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/cmd/geth/config.go b/cmd/geth/config.go index 9c703758e..50e4de2e7 100644 --- a/cmd/geth/config.go +++ b/cmd/geth/config.go @@ -18,7 +18,6 @@ package main import ( "bufio" - "encoding/hex" "errors" "fmt" "io" @@ -29,7 +28,6 @@ import ( cli "gopkg.in/urfave/cli.v1" "github.com/ethereum/go-ethereum/cmd/utils" - "github.com/ethereum/go-ethereum/contracts/release" "github.com/ethereum/go-ethereum/dashboard" "github.com/ethereum/go-ethereum/eth" "github.com/ethereum/go-ethereum/node" @@ -177,21 +175,6 @@ func makeFullNode(ctx *cli.Context) *node.Node { if cfg.Ethstats.URL != "" { utils.RegisterEthStatsService(stack, cfg.Ethstats.URL) } - - // Add the release oracle service so it boots along with node. - if err := stack.Register(func(ctx *node.ServiceContext) (node.Service, error) { - config := release.Config{ - Oracle: relOracle, - Major: uint32(params.VersionMajor), - Minor: uint32(params.VersionMinor), - Patch: uint32(params.VersionPatch), - } - commit, _ := hex.DecodeString(gitCommit) - copy(config.Commit[:], commit) - return release.NewReleaseService(ctx, config) - }); err != nil { - utils.Fatalf("Failed to register the Geth release oracle service: %v", err) - } return stack } |