diff --git a/sharding/client/client.go b/sharding/client/client.go index e0fcd2389..769ce50dd 100644 --- a/sharding/client/client.go +++ b/sharding/client/client.go @@ -241,6 +241,7 @@ func initSMC(c *shardingClient) (*contracts.SMC, error) { return contract, nil } +// DepositFlagSet returns true for cli flag --deposit. func (c *shardingClient) DepositFlagSet() bool { return c.ctx.GlobalBool(utils.DepositFlag.Name) }