aboutsummaryrefslogtreecommitdiffstats
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
parent793d1ccfd0d7f7d810341b8217bf4dac036650a0 (diff)
downloaddexon-510f76360d2bdfac6c45cac038820a5cf9049a67.tar.gz
dexon-510f76360d2bdfac6c45cac038820a5cf9049a67.tar.zst
dexon-510f76360d2bdfac6c45cac038820a5cf9049a67.zip
travis: re-encrypt GCP credential file (#165)
-rw-r--r--.ci/DEXON-7548b3622930.json.encbin2320 -> 2320 bytes
-rw-r--r--.travis.yml4
-rw-r--r--core/blockchain.go2
3 files changed, 3 insertions, 3 deletions
diff --git a/.ci/DEXON-7548b3622930.json.enc b/.ci/DEXON-7548b3622930.json.enc
index 62a94fbe0..ec334866f 100644
--- a/.ci/DEXON-7548b3622930.json.enc
+++ b/.ci/DEXON-7548b3622930.json.enc
Binary files differ
diff --git a/.travis.yml b/.travis.yml
index 8ee205c48..b5748f00c 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -235,7 +235,7 @@ matrix:
os: osx
go: 1.11.x
env:
- - gcp-osx
+ - smoke-test
git:
submodules: false
script:
@@ -250,4 +250,4 @@ matrix:
- ethereum
before_install:
- openssl aes-256-cbc -K $encrypted_556a2b2ff7f6_key -iv $encrypted_556a2b2ff7f6_iv
- -in .ci/DEXON-7548b3622930.json.enc -out ./COBINHOOD-7548b3622930.json -d
+ -in .ci/DEXON-7548b3622930.json.enc -out ./DEXON-7548b3622930.json -d
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())
}