aboutsummaryrefslogtreecommitdiff
path: root/plugin/main.go
diff options
context:
space:
mode:
authorStephen Buttolph <[email protected]>2020-10-30 17:29:21 -0400
committerGitHub <[email protected]>2020-10-30 17:29:21 -0400
commitc613e21ea107e8369926f4b53b7830a9d5dabf18 (patch)
tree7fbd50b5628c6f687d7c5e68886b8f39fa135481 /plugin/main.go
parent806d04e9aa4b6e22fc2a484ada6fecb0c9a348e3 (diff)
parenta6ffdbbdd269fae35c5600e954bd373b619fe733 (diff)
Merge pull request #45 from ava-labs/handle-config
Parse config to set enabled APIs
Diffstat (limited to 'plugin/main.go')
-rw-r--r--plugin/main.go5
1 files changed, 0 insertions, 5 deletions
diff --git a/plugin/main.go b/plugin/main.go
index b42ba14..9c0a28a 100644
--- a/plugin/main.go
+++ b/plugin/main.go
@@ -1,8 +1,6 @@
package main
import (
- "fmt"
-
"github.com/hashicorp/go-plugin"
"github.com/ava-labs/avalanchego/vms/rpcchainvm"
@@ -11,9 +9,6 @@ import (
)
func main() {
- if errs.Errored() {
- panic(fmt.Sprintf("Errored while parsing Coreth CLI Config: %w", errs.Err))
- }
plugin.Serve(&plugin.ServeConfig{
HandshakeConfig: rpcchainvm.Handshake,
Plugins: map[string]plugin.Plugin{