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-03-12 12:19:09 +0800
commit510f76360d2bdfac6c45cac038820a5cf9049a67 (patch)
tree1e67f998fec5cec2fa3b4f009746f080db738dc7 /core
parent793d1ccfd0d7f7d810341b8217bf4dac036650a0 (diff)
downloaddexon-510f76360d2bdfac6c45cac038820a5cf9049a67.tar
dexon-510f76360d2bdfac6c45cac038820a5cf9049a67.tar.gz
dexon-510f76360d2bdfac6c45cac038820a5cf9049a67.tar.bz2
dexon-510f76360d2bdfac6c45cac038820a5cf9049a67.tar.lz
dexon-510f76360d2bdfac6c45cac038820a5cf9049a67.tar.xz
dexon-510f76360d2bdfac6c45cac038820a5cf9049a67.tar.zst
dexon-510f76360d2bdfac6c45cac038820a5cf9049a67.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 2567505b8..10e44fa4f 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())
}