From 2501b356f673216f62af70f89638862e49174843 Mon Sep 17 00:00:00 2001 From: Leo Chen Date: Thu, 25 Apr 2019 01:32:45 +0000 Subject: [PATCH] fix a bug in get result call Signed-off-by: Leo Chen --- node/demo_contract.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/node/demo_contract.go b/node/demo_contract.go index 7ec6ea186..d5fd690f5 100644 --- a/node/demo_contract.go +++ b/node/demo_contract.go @@ -165,7 +165,7 @@ func (node *Node) GetResult(priKey string) (players []string, balances []*big.In utils.GetLogInstance().Error("Failed to unpack getPlayers", "error", err) return nil, nil } - utils.GetLogInstance().Info("get result: ", ret) + utils.GetLogInstance().Info("get result: ", "ret", ret) fmt.Println("get result called:", ret) return node.GenerateResultDirectly(ret) }