diff options
author | Leif Jurvetson <leijurv@gmail.com> | 2016-03-16 02:55:39 +0800 |
---|---|---|
committer | Leif Jurvetson <leijurv@gmail.com> | 2016-03-16 03:03:17 +0800 |
commit | 434e4b31d8ad2fb34b9b9a74d05cae3cd4169daa (patch) | |
tree | 479aa140da9612da93b838d6e665bab928836066 /core/blockchain.go | |
parent | 06fe6310a3ecf0be324b082ca83c015abe47fa8f (diff) | |
download | dexon-434e4b31d8ad2fb34b9b9a74d05cae3cd4169daa.tar.gz dexon-434e4b31d8ad2fb34b9b9a74d05cae3cd4169daa.tar.zst dexon-434e4b31d8ad2fb34b9b9a74d05cae3cd4169daa.zip |
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 |