From ce900f9bd7ad3819aae7ed8879b629782aeb1ea1 Mon Sep 17 00:00:00 2001 From: Preston Van Loon Date: Sun, 13 May 2018 12:37:58 -0400 Subject: [PATCH] Sharding: check flag value Former-commit-id: f1bd210017d236d1ebafdd9b404be6b4731c75ed [formerly adc011704641d4830e6e46acbc6b33c2eb06ba92] Former-commit-id: 0071f67a01cff53eaa8ba8a888aecc16f9150b8d --- sharding/client/client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sharding/client/client.go b/sharding/client/client.go index 0b4b5735a..e0fcd2389 100644 --- a/sharding/client/client.go +++ b/sharding/client/client.go @@ -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) }