diff options
author | Vivek Anand <vivekanand1101@users.noreply.github.com> | 2017-01-26 22:54:49 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2017-01-26 22:54:49 +0800 |
commit | 82aa5b1de69331a43f5050717d593aa97eda1ef5 (patch) | |
tree | ff71ada61aac6278eefdea39dbe25b306259f48f /core | |
parent | 1886d03faa9b7d8cdf335da84c297d30c213bb69 (diff) | |
download | dexon-82aa5b1de69331a43f5050717d593aa97eda1ef5.tar.gz dexon-82aa5b1de69331a43f5050717d593aa97eda1ef5.tar.zst dexon-82aa5b1de69331a43f5050717d593aa97eda1ef5.zip |
core: fix a small typo in blockchain.go (#3611)
Diffstat (limited to 'core')
-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 90bb0b5a8..281f28f36 100644 --- a/core/blockchain.go +++ b/core/blockchain.go @@ -853,7 +853,7 @@ func (self *BlockChain) WriteBlock(block *types.Block) (status WriteStatus, err return } -// InsertChain will attempt to insert the given chain in to the canonical chain or, otherwise, create a fork. It an error is returned +// InsertChain will attempt to insert the given chain in to the canonical chain or, otherwise, create a fork. If an error is returned // it will return the index number of the failing block as well an error describing what went wrong (for possible errors see core/errors.go). func (self *BlockChain) InsertChain(chain types.Blocks) (int, error) { // Do a sanity check that the provided chain is actually ordered and linked |