aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJeffrey Wilcke <geffobscura@gmail.com>2015-07-25 18:06:17 +0800
committerJeffrey Wilcke <geffobscura@gmail.com>2015-07-25 23:47:20 +0800
commit9afda6ab8cb72269b299664a69edb545a5aebeb6 (patch)
tree716601696531a7b9bd5e145d41d508489957c552 /tests
parent5001f778aac5cf77a200da7829f8d28547208fed (diff)
downloadgo-tangerine-9afda6ab8cb72269b299664a69edb545a5aebeb6.tar
go-tangerine-9afda6ab8cb72269b299664a69edb545a5aebeb6.tar.gz
go-tangerine-9afda6ab8cb72269b299664a69edb545a5aebeb6.tar.bz2
go-tangerine-9afda6ab8cb72269b299664a69edb545a5aebeb6.tar.lz
go-tangerine-9afda6ab8cb72269b299664a69edb545a5aebeb6.tar.xz
go-tangerine-9afda6ab8cb72269b299664a69edb545a5aebeb6.tar.zst
go-tangerine-9afda6ab8cb72269b299664a69edb545a5aebeb6.zip
core: 5 ether block reward
Diffstat (limited to 'tests')
-rw-r--r--tests/block_test.go8
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 {