aboutsummaryrefslogtreecommitdiffstats
path: root/core/chain_makers.go
diff options
context:
space:
mode:
authorLeif Jurvetson <leijurv@gmail.com>2016-03-16 02:08:18 +0800
committerLeif Jurvetson <leijurv@gmail.com>2016-03-16 02:08:18 +0800
commitb7bb2d8589ddfb4f893c881edb6422bacdb6e53b (patch)
tree39ab548f4995eab28d26274d0d40cfd7be036915 /core/chain_makers.go
parente189fb839c688b418b43ad6533111c246c109a93 (diff)
downloaddexon-b7bb2d8589ddfb4f893c881edb6422bacdb6e53b.tar.gz
dexon-b7bb2d8589ddfb4f893c881edb6422bacdb6e53b.tar.zst
dexon-b7bb2d8589ddfb4f893c881edb6422bacdb6e53b.zip
core: various typos
Diffstat (limited to 'core/chain_makers.go')
-rw-r--r--core/chain_makers.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/chain_makers.go b/core/chain_makers.go
index c62618e6c..0e1ca5fff 100644
--- a/core/chain_makers.go
+++ b/core/chain_makers.go
@@ -108,7 +108,7 @@ func (b *BlockGen) Number() *big.Int {
// backing transaction.
//
// AddUncheckedReceipts will cause consensus failures when used during real
-// chain processing. This is best used in conjuction with raw block insertion.
+// chain processing. This is best used in conjunction with raw block insertion.
func (b *BlockGen) AddUncheckedReceipt(receipt *types.Receipt) {
b.receipts = append(b.receipts, receipt)
}
@@ -215,7 +215,7 @@ func makeHeader(parent *types.Block, state *state.StateDB) *types.Header {
// chain. Depending on the full flag, if creates either a full block chain or a
// header only chain.
func newCanonical(n int, full bool) (ethdb.Database, *BlockChain, error) {
- // Create te new chain database
+ // Create the new chain database
db, _ := ethdb.NewMemDatabase()
evmux := &event.TypeMux{}