aboutsummaryrefslogtreecommitdiffstats
path: root/node
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2017-01-07 01:44:35 +0800
committerPéter Szilágyi <peterke@gmail.com>2017-01-07 01:44:35 +0800
commit18c77744ff4ad0bc385a4c8b50d28c2a6fde8e00 (patch)
treef346aa2c1de4c873ba7d7bf847225b2c319c5694 /node
parentac93a6ff6cd1200ab0fb67a5bd0c02cb70646632 (diff)
downloaddexon-18c77744ff4ad0bc385a4c8b50d28c2a6fde8e00.tar.gz
dexon-18c77744ff4ad0bc385a4c8b50d28c2a6fde8e00.tar.zst
dexon-18c77744ff4ad0bc385a4c8b50d28c2a6fde8e00.zip
all: fix spelling errors
Diffstat (limited to 'node')
-rw-r--r--node/node_example_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/node/node_example_test.go b/node/node_example_test.go
index 01ff683c0..7c586452f 100644
--- a/node/node_example_test.go
+++ b/node/node_example_test.go
@@ -44,7 +44,7 @@ func (s *SampleService) Stop() error { fmt.Println("Service stoppi
func ExampleUsage() {
// Create a network node to run protocols with the default values. The below list
// is only used to display each of the configuration options. All of these could
- // have been ommited if the default behavior is desired.
+ // have been omitted if the default behavior is desired.
nodeConfig := &node.Config{
DataDir: "", // Empty uses ephemeral storage
PrivateKey: nil, // Nil generates a node key on the fly