Browse Source

fix some more compile issues

master
Jonathan "Duke" Leto 2 years ago
parent
commit
f4b086d9ed
  1. 8
      cmd/server/main.go

8
cmd/server/main.go

@ -85,6 +85,7 @@ type Options struct {
logPath string `json:"log_file,omitempty"`
hush3ConfPath string `json:"hush3_conf,omitempty"`
cacheSize int `json:"hush3_conf,omitempty"`
PingEnable bool
}
func main() {
@ -215,15 +216,16 @@ func main() {
{
service, err := frontend.NewLwdStreamer(cache, chainName, opts.PingEnable)
if err != nil {
common.Log.WithFields(logrus.Fields{
log.WithFields(logrus.Fields{
"error": err,
}).Fatal("couldn't create backend")
}
walletrpc.RegisterCompactTxStreamerServer(server, service)
// Register service
walletrpc.RegisterCompactTxStreamerServer(server, service)
}
// Register service
walletrpc.RegisterCompactTxStreamerServer(server, service)
// Initialize mempool monitor

Loading…
Cancel
Save