Skip to content

Commit

Permalink
Merge pull request #398 from lightninglabs/cli-public-orders
Browse files Browse the repository at this point in the history
cmd: make orders public by default
  • Loading branch information
positiveblue authored Oct 27, 2022
2 parents 45faa2f + 025f270 commit 905219b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion cmd/pool/order.go
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,10 @@ func parseCommonParams(ctx *cli.Context, blockDuration uint32) (*poolrpc.Order,
params.AllowedNodeIds = allowedNodeIDs
params.NotAllowedNodeIds = notAllowedNodeIDs

params.IsPublic = ctx.Bool("public")
params.IsPublic = true
if ctx.IsSet("public") {
params.IsPublic = ctx.Bool("public")
}

return params, nil
}
Expand Down

0 comments on commit 905219b

Please sign in to comment.