From 169f035f420c39e2aadf099386737e12e716a48d Mon Sep 17 00:00:00 2001 From: ak Date: Wed, 1 May 2019 20:37:25 -0700 Subject: [PATCH] changing back to ether --- node/puzzle_contract.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/node/puzzle_contract.go b/node/puzzle_contract.go index 51acc8566..411cbad9a 100644 --- a/node/puzzle_contract.go +++ b/node/puzzle_contract.go @@ -51,7 +51,7 @@ func (node *Node) AddPuzzleContract() { func (node *Node) CreateTransactionForPlayMethod(priKey string, amount int) error { var err error toAddress := node.PuzzleContractAddress - GameStake := amount * big.NewInt(params.Wei) + GameStake := amount * big.NewInt(params.Ether) abi, err := abi.JSON(strings.NewReader(contracts.PuzzleABI)) if err != nil { utils.GetLogInstance().Error("puzzle-play: Failed to generate staking contract's ABI", "error", err)