Fix log message formatting when instantiating index provider

This commit is contained in:
Masih H. Derkani 2022-02-11 12:15:21 +00:00
parent 296eab3045
commit 7e7844f169
No known key found for this signature in database
GPG Key ID: B320AFAA5B736DB6

View File

@ -88,7 +88,7 @@ func IndexProvider(cfg config.IndexProviderConfig) func(params IdxProv, marketHo
// Get the miner ID and set as extra gossip data.
// The extra data is required by the lotus-specific index-provider gossip message validators.
ma := address.Address(maddr)
log.Info("Using extra gossip data in index provider engine: %s", ma.String())
log.Infof("Using extra gossip data in index provider engine: %s", ma.String())
e, err := engine.New(cfg.Ingest, pkey, dt, h, ipds, maddrs, engine.WithExtraGossipData(ma.Bytes()))
if err != nil {