aboutsummaryrefslogtreecommitdiffstats
path: root/console
diff options
context:
space:
mode:
authorRicardo Domingos <ricardohsd@gmail.com>2017-11-24 17:20:01 +0800
committerPéter Szilágyi <peterke@gmail.com>2017-11-24 17:20:01 +0800
commit9ff9d04a6906cdb941f6797e63b9da7536316b64 (patch)
tree5fbf2102372237cdf386afde5fedcb483532f71b /console
parentedc3e0efeb7f07872bc4bc042433c7135297a5ed (diff)
downloaddexon-9ff9d04a6906cdb941f6797e63b9da7536316b64.tar
dexon-9ff9d04a6906cdb941f6797e63b9da7536316b64.tar.gz
dexon-9ff9d04a6906cdb941f6797e63b9da7536316b64.tar.bz2
dexon-9ff9d04a6906cdb941f6797e63b9da7536316b64.tar.lz
dexon-9ff9d04a6906cdb941f6797e63b9da7536316b64.tar.xz
dexon-9ff9d04a6906cdb941f6797e63b9da7536316b64.tar.zst
dexon-9ff9d04a6906cdb941f6797e63b9da7536316b64.zip
all: fix code comment typos (#15547)
* console: fix typo in comment * contracts/release: fix typo in comment * core: fix typo in comment * eth: fix typo in comment * miner: fix typo in comment
Diffstat (limited to 'console')
-rw-r--r--console/console.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/console/console.go b/console/console.go
index 3cd2ad34b..c42c9bfbb 100644
--- a/console/console.go
+++ b/console/console.go
@@ -47,7 +47,7 @@ const HistoryFile = "history"
// DefaultPrompt is the default prompt line prefix to use for user input querying.
const DefaultPrompt = "> "
-// Config is te collection of configurations to fine tune the behavior of the
+// Config is the collection of configurations to fine tune the behavior of the
// JavaScript console.
type Config struct {
DataDir string // Data directory to store the console history at
@@ -238,7 +238,7 @@ func (c *Console) AutoCompleteInput(line string, pos int) (string, []string, str
// E.g. in case of nested lines eth.getBalance(eth.coinb<tab><tab>
start := pos - 1
for ; start > 0; start-- {
- // Skip all methods and namespaces (i.e. including te dot)
+ // Skip all methods and namespaces (i.e. including the dot)
if line[start] == '.' || (line[start] >= 'a' && line[start] <= 'z') || (line[start] >= 'A' && line[start] <= 'Z') {
continue
}