diff options
author | Felix Lange <fjl@twurst.com> | 2016-03-16 03:33:38 +0800 |
---|---|---|
committer | Felix Lange <fjl@twurst.com> | 2016-03-16 03:33:38 +0800 |
commit | b5cee9738b6ec8d9832773a45878eab3bb761391 (patch) | |
tree | 479aa140da9612da93b838d6e665bab928836066 /core/blockchain.go | |
parent | 06fe6310a3ecf0be324b082ca83c015abe47fa8f (diff) | |
parent | 434e4b31d8ad2fb34b9b9a74d05cae3cd4169daa (diff) | |
download | go-tangerine-b5cee9738b6ec8d9832773a45878eab3bb761391.tar.gz go-tangerine-b5cee9738b6ec8d9832773a45878eab3bb761391.tar.zst go-tangerine-b5cee9738b6ec8d9832773a45878eab3bb761391.zip |
Merge pull request #2350 from leijurv/patch-3
core, eth: replace reorganiz with reorganis
Diffstat (limited to 'core/blockchain.go')
-rw-r--r-- | core/blockchain.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/blockchain.go b/core/blockchain.go index 284c549e3..55034d9de 100644 --- a/core/blockchain.go +++ b/core/blockchain.go @@ -775,7 +775,7 @@ func (self *BlockChain) WriteBlock(block *types.Block) (status WriteStatus, err // Second clause in the if statement reduces the vulnerability to selfish mining. // Please refer to http://www.cs.cornell.edu/~ie53/publications/btcProcFC.pdf if externTd.Cmp(localTd) > 0 || (externTd.Cmp(localTd) == 0 && mrand.Float64() < 0.5) { - // Reorganize the chain if the parent is not the head block + // Reorganise the chain if the parent is not the head block if block.ParentHash() != self.currentBlock.Hash() { if err := self.reorg(self.currentBlock, block); err != nil { return NonStatTy, err |