Sharding: added function doc

Former-commit-id: 0c20f0ed1c23a9b72620db14470239f71775ab82 [formerly 57d3964723de6bbd16dfc289730665aab89b60e8]
Former-commit-id: 83cb53bfc1eca388184d2d72910831d11181f14c
This commit is contained in:
Preston Van Loon 2018-05-13 13:21:21 -04:00
parent ce900f9bd7
commit f1d8accaeb

View File

@ -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)
}