Skip to content

Commit 0a9396e

Browse files
committed
console: update welcome message
1 parent 5aa0074 commit 0a9396e

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

cmd/prlx/consolecmd_test.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,9 @@ func TestConsoleWelcome(t *testing.T) {
6969

7070
// Verify the actual welcome message to the required template
7171
prlx.Expect(`
72-
Welcome to the Prlx JavaScript console!
72+
Welcome to the Parallax JavaScript console!
7373
74-
instance: Prlx/v{{prlxver}}/{{goos}}-{{goarch}}/{{gover}}
74+
instance: Parallax/v{{prlxver}}/{{goos}}-{{goarch}}/{{gover}}
7575
coinbase: {{.Coinbase}}
7676
at block: 0 ({{niltime}})
7777
datadir: {{.Datadir}}
@@ -142,9 +142,9 @@ func testAttachWelcome(t *testing.T, prlx *testprlx, endpoint, apis string) {
142142

143143
// Verify the actual welcome message to the required template
144144
attach.Expect(`
145-
Welcome to the Prlx JavaScript console!
145+
Welcome to the Parallax JavaScript console!
146146
147-
instance: Prlx/v{{prlxver}}/{{goos}}-{{goarch}}/{{gover}}
147+
instance: Parallax/v{{prlxver}}/{{goos}}-{{goarch}}/{{gover}}
148148
coinbase: {{coinbase}}
149149
at block: 0 ({{niltime}}){{if ipc}}
150150
datadir: {{datadir}}{{end}}

console/console.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ func (c *Console) AutoCompleteInput(line string, pos int) (string, []string, str
313313
// Welcome show summary of current Prlx instance and some metadata about the
314314
// console's available modules.
315315
func (c *Console) Welcome() {
316-
message := "Welcome to the Prlx JavaScript console!\n\n"
316+
message := "Welcome to the Parallax JavaScript console!\n\n"
317317

318318
// Print some generic Prlx metadata
319319
if res, err := c.jsre.Run(`

0 commit comments

Comments
 (0)