diff options
author | Péter Szilágyi <peterke@gmail.com> | 2016-10-29 18:33:57 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2016-10-29 22:07:07 +0800 |
commit | f0dbec0c93a772b0f3553399126d8c49bfcc85d4 (patch) | |
tree | a3ced3d61ef6a5569752d549da6c13d27c344c48 /core | |
parent | 8639b0fae975a5e65dea16fe5321168ac0aef128 (diff) | |
download | go-tangerine-f0dbec0c93a772b0f3553399126d8c49bfcc85d4.tar go-tangerine-f0dbec0c93a772b0f3553399126d8c49bfcc85d4.tar.gz go-tangerine-f0dbec0c93a772b0f3553399126d8c49bfcc85d4.tar.bz2 go-tangerine-f0dbec0c93a772b0f3553399126d8c49bfcc85d4.tar.lz go-tangerine-f0dbec0c93a772b0f3553399126d8c49bfcc85d4.tar.xz go-tangerine-f0dbec0c93a772b0f3553399126d8c49bfcc85d4.tar.zst go-tangerine-f0dbec0c93a772b0f3553399126d8c49bfcc85d4.zip |
cmd, params: only set default fork configs for test and mainnet
Diffstat (limited to 'core')
-rw-r--r-- | core/block_validator.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/block_validator.go b/core/block_validator.go index 3f5aa10ff..1bb1a9713 100644 --- a/core/block_validator.go +++ b/core/block_validator.go @@ -253,7 +253,7 @@ func ValidateHeader(config *ChainConfig, pow pow.PoW, header *types.Header, pare } if config.HomesteadGasRepriceBlock != nil && config.HomesteadGasRepriceBlock.Cmp(header.Number) == 0 { if config.HomesteadGasRepriceHash != (common.Hash{}) && config.HomesteadGasRepriceHash != header.Hash() { - return ValidationError("Homestead gas reprice fork hash mismatch: have 0x%x, want 0x%x", header.Hash(), config.HomesteadGasRepriceBlock) + return ValidationError("Homestead gas reprice fork hash mismatch: have 0x%x, want 0x%x", header.Hash(), config.HomesteadGasRepriceHash) } } return nil |