aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorbojie <bojie@dexon.org>2019-01-20 16:45:12 +0800
committerWei-Ning Huang <w@dexon.org>2019-04-09 21:32:56 +0800
commit3af3183ce47d29543fe19212f4405f4f832bcf93 (patch)
tree0649eb96c4e915a50afd1999f674065f8566babf /core
parent46827bc51d5b39d2f28654f19a63796cfe6b9d56 (diff)
downloaddexon-3af3183ce47d29543fe19212f4405f4f832bcf93.tar
dexon-3af3183ce47d29543fe19212f4405f4f832bcf93.tar.gz
dexon-3af3183ce47d29543fe19212f4405f4f832bcf93.tar.bz2
dexon-3af3183ce47d29543fe19212f4405f4f832bcf93.tar.lz
dexon-3af3183ce47d29543fe19212f4405f4f832bcf93.tar.xz
dexon-3af3183ce47d29543fe19212f4405f4f832bcf93.tar.zst
dexon-3af3183ce47d29543fe19212f4405f4f832bcf93.zip
travis: re-encrypt GCP credential file (#165)
Diffstat (limited to 'core')
-rw-r--r--core/blockchain.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/blockchain.go b/core/blockchain.go
index ea1d06489..8bbf6e809 100644
--- a/core/blockchain.go
+++ b/core/blockchain.go
@@ -1891,7 +1891,7 @@ func (bc *BlockChain) processBlock(
chainBlock := bc.GetBlockByNumber(newBlock.NumberU64())
if chainBlock != nil {
if chainBlock.Hash() != newBlock.Hash() {
- return nil, nil, nil, fmt.Errorf("block %v exist but hash is not equal: exist %v expect %v", newBlock.NumberU64(),
+ return nil, nil, nil, fmt.Errorf("block %v exist but hash is not equal: exist %v but get %v", newBlock.NumberU64(),
chainBlock.Hash(), newBlock.Hash())
}