From 8c0619d29cb0a2d06bbd38ad2bfc067d641aba3a Mon Sep 17 00:00:00 2001 From: Jeffrey Wilcke Date: Sat, 25 Jul 2015 12:06:17 +0200 Subject: [PATCH] core: 5 ether block reward --- core/chain_makers_test.go | 2 +- tests/block_test.go | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/core/chain_makers_test.go b/core/chain_makers_test.go index deb8be93f4..edc0333bea 100644 --- a/core/chain_makers_test.go +++ b/core/chain_makers_test.go @@ -93,5 +93,5 @@ func ExampleGenerateChain() { // last block: #5 // balance of addr1: 989000 // balance of addr2: 10000 - // balance of addr3: 5906250000000001000 + // balance of addr3: 19687500000000001000 } diff --git a/tests/block_test.go b/tests/block_test.go index 40a210a3e3..5019b758d1 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 {