Skip to content

Commit

Permalink
Don't print settings for all commands.
Browse files Browse the repository at this point in the history
  • Loading branch information
nyonson committed Apr 11, 2023
1 parent a0bbd00 commit df11db4
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions cmd/raiju/raiju.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,6 @@ func parseFees(thresholds string, fees string, stickiness float64) (raiju.Liquid
return raiju.LiquidityFees{}, err
}

lf.PrintSettings()

return lf, nil
}

Expand Down Expand Up @@ -184,6 +182,8 @@ func main() {
return err
}

f.PrintSettings()

r := raiju.New(c, f)

_, err = r.Fees(ctx, *daemon)
Expand Down Expand Up @@ -241,6 +241,8 @@ func main() {
return err
}

f.PrintSettings()

r := raiju.New(c, f)

// default to low liquidity fee, override with flag
Expand Down

0 comments on commit df11db4

Please sign in to comment.