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)