fix a bug in get result call

Signed-off-by: Leo Chen <leo@harmony.one>
pull/788/head
Leo Chen 6 years ago committed by Rongjian Lan
parent 169b1c6902
commit 2501b356f6
  1. 2
      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)
}

Loading…
Cancel
Save