Garbage collect DBProvider (unoptimized); Certifier creation takes a client

This commit is contained in:
Jae Kwon
2018-06-20 01:42:37 -07:00
parent 242a6037e8
commit c3296f2e01
3 changed files with 105 additions and 38 deletions

View File

@@ -68,7 +68,7 @@ func runProxy(cmd *cobra.Command, args []string) error {
// First, connect a client
node := rpcclient.NewHTTP(nodeAddr, "/websocket")
cert, err := proxy.GetCertifier(chainID, home, nodeAddr)
cert, err := proxy.GetCertifier(chainID, home, node)
if err != nil {
return err
}