Sharding: check flag value

Former-commit-id: f1bd210017d236d1ebafdd9b404be6b4731c75ed [formerly adc011704641d4830e6e46acbc6b33c2eb06ba92]
Former-commit-id: 0071f67a01cff53eaa8ba8a888aecc16f9150b8d
This commit is contained in:
Preston Van Loon 2018-05-13 12:37:58 -04:00
parent 6df9fddf7c
commit ce900f9bd7

View File

@ -242,5 +242,5 @@ func initSMC(c *shardingClient) (*contracts.SMC, error) {
}
func (c *shardingClient) DepositFlagSet() bool {
return false
return c.ctx.GlobalBool(utils.DepositFlag.Name)
}