aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorVivek Anand <vivekanand1101@users.noreply.github.com>2017-01-26 22:54:49 +0800
committerPéter Szilágyi <peterke@gmail.com>2017-01-26 22:54:49 +0800
commit82aa5b1de69331a43f5050717d593aa97eda1ef5 (patch)
treeff71ada61aac6278eefdea39dbe25b306259f48f /core
parent1886d03faa9b7d8cdf335da84c297d30c213bb69 (diff)
downloadgo-tangerine-82aa5b1de69331a43f5050717d593aa97eda1ef5.tar
go-tangerine-82aa5b1de69331a43f5050717d593aa97eda1ef5.tar.gz
go-tangerine-82aa5b1de69331a43f5050717d593aa97eda1ef5.tar.bz2
go-tangerine-82aa5b1de69331a43f5050717d593aa97eda1ef5.tar.lz
go-tangerine-82aa5b1de69331a43f5050717d593aa97eda1ef5.tar.xz
go-tangerine-82aa5b1de69331a43f5050717d593aa97eda1ef5.tar.zst
go-tangerine-82aa5b1de69331a43f5050717d593aa97eda1ef5.zip
core: fix a small typo in blockchain.go (#3611)
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 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