expanse-org / go-expanse

Jeffrey Wilcke's Go implementation of the Ethereum y/w paper
GNU Lesser General Public License v3.0
55 stars 19 forks source link

reward #29

Open jcreyesb opened 6 years ago

jcreyesb commented 6 years ago

System information

Version: 1.7.2-stable Git Commit: 9c901caa90e65920b21f7b3095723fc5dc76cd00 Architecture: amd64 Protocol Versions: [63 62] Network Id: 1 Go Version: go1.7.5 Operating System: linux

Expected behaviour

Actual behaviour

Steps to reproduce the behaviour

Backtrace

[backtrace]

I updated my expnase pool, but the rewards is worng always is 8 exp.. i changed payouts/unlocker.go

var constReward = math.MustParseBig256("8000000000000000000")

to

var constReward = math.MustParseBig256("4000000000000000000")

but always show 8 exp.. what i can do?

jvr900 commented 6 years ago

@jcreyesb did you also compile the code for the pool? For my pool it worked out fine.

jcreyesb commented 6 years ago

yes. i did, compiled gexp again

jvr900 commented 6 years ago

you need to compile the code of the pool not gexp. The payout/unlocker.go is not part of gexp :-)

jcreyesb commented 6 years ago

i ran ./build.sh when changed the payout/unlocker.go