From f1d8accaeb2eec70bb7f3cf5d9abfdf6eb36b9ca Mon Sep 17 00:00:00 2001 From: Preston Van Loon Date: Sun, 13 May 2018 13:21:21 -0400 Subject: [PATCH] Sharding: added function doc Former-commit-id: 0c20f0ed1c23a9b72620db14470239f71775ab82 [formerly 57d3964723de6bbd16dfc289730665aab89b60e8] Former-commit-id: 83cb53bfc1eca388184d2d72910831d11181f14c --- sharding/client/client.go | 1 + 1 file changed, 1 insertion(+) 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) }