diff options
author | Jeffrey Wilcke <jeffrey@ethereum.org> | 2015-07-25 23:57:33 +0800 |
---|---|---|
committer | Jeffrey Wilcke <jeffrey@ethereum.org> | 2015-07-25 23:57:33 +0800 |
commit | 665eaff9b9076827d887342bf0a84d0f3ae37697 (patch) | |
tree | 0fddd3261226e4336055c7a5c78802eeae7d9c9a /tests/block_test.go | |
parent | 0efcd7ed05331c25b3f3d485c65354cfe99d8297 (diff) | |
parent | 9afda6ab8cb72269b299664a69edb545a5aebeb6 (diff) | |
download | go-tangerine-665eaff9b9076827d887342bf0a84d0f3ae37697.tar go-tangerine-665eaff9b9076827d887342bf0a84d0f3ae37697.tar.gz go-tangerine-665eaff9b9076827d887342bf0a84d0f3ae37697.tar.bz2 go-tangerine-665eaff9b9076827d887342bf0a84d0f3ae37697.tar.lz go-tangerine-665eaff9b9076827d887342bf0a84d0f3ae37697.tar.xz go-tangerine-665eaff9b9076827d887342bf0a84d0f3ae37697.tar.zst go-tangerine-665eaff9b9076827d887342bf0a84d0f3ae37697.zip |
Merge pull request #1520 from obscuren/reward-5eth
core: 5 ether block reward
Diffstat (limited to 'tests/block_test.go')
-rw-r--r-- | tests/block_test.go | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/block_test.go b/tests/block_test.go index 40a210a3e..5019b758d 100644 --- a/tests/block_test.go +++ b/tests/block_test.go @@ -17,10 +17,18 @@ package tests import ( + "math/big" "path/filepath" "testing" + + "github.com/ethereum/go-ethereum/core" ) +func init() { + // XXX remove me when block tests have been updated + core.BlockReward = big.NewInt(1.5e+18) +} + func TestBcValidBlockTests(t *testing.T) { err := RunBlockTest(filepath.Join(blockTestDir, "bcValidBlockTest.json"), BlockSkipTests) if err != nil { |