Commit 06eac55a authored by Anatolie Lupacescu's avatar Anatolie Lupacescu Committed by GitHub

light nodes: fix string representation, flipped default value (#1621)

parent b612d623
......@@ -227,7 +227,7 @@ func (c *command) setAllFlags(cmd *cobra.Command) {
cmd.Flags().String(optionNameSwapFactoryAddress, "", "swap factory address")
cmd.Flags().String(optionNameSwapInitialDeposit, "100000000000000000", "initial deposit if deploying a new chequebook")
cmd.Flags().Bool(optionNameSwapEnable, true, "enable swap")
cmd.Flags().Bool(optionNameFullNode, true, "cause the node to start in full mode")
cmd.Flags().Bool(optionNameFullNode, false, "cause the node to start in full mode")
cmd.Flags().String(optionNamePostageContractAddress, "", "postage stamp contract address")
cmd.Flags().String(optionNamePriceOracleAddress, "", "price oracle address")
}
......
......@@ -81,7 +81,7 @@ type Info struct {
}
func (i *Info) LightString() string {
if i.FullNode {
if !i.FullNode {
return " (light)"
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment