Skip to content

Commit 5f34c11

Browse files
committed
Minor changes
1 parent fe0dd15 commit 5f34c11

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

indexer/context/context.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,8 @@ func (c *indexerContext) DB() *gorm.DB { return c.db }
6161
func (c *indexerContext) Flags() *IndexerFlags { return c.flags }
6262

6363
func ParseIndexerFlags() *IndexerFlags {
64-
cfgFlag := flag.String("config", globalConfig.CONFIG_FILE, "Configuration file (toml format)")
6564
versionFlag := flag.Bool("version", false, "Print version information and exit")
65+
cfgFlag := flag.String("config", globalConfig.CONFIG_FILE, "Configuration file (toml format)")
6666
resetVotingFlag := flag.Int64("reset-voting", 0, "Set start epoch for voting cronjob to this value, overrides config and database value, valid values are > 0")
6767
resetMirrorFlag := flag.Int64("reset-mirroring", 0, "Set start epoch for mirroring cronjob to this value, overrides config and database value, valid values are > 0")
6868
flag.Parse()

indexer/main/indexer.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ func main() {
2525
fmt.Printf("%v\n", err)
2626
return
2727
}
28+
29+
logger.Info("Starting Flare indexer application version %s", shared.ApplicationVersion)
30+
2831
err = migrations.Container.ExecuteAll(ctx.DB())
2932
if err != nil {
3033
fmt.Printf("%v\n", err)

0 commit comments

Comments
 (0)