good morning!!!!
Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
B
bor
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Harbor Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
open
bor
Commits
ec170060
Unverified
Commit
ec170060
authored
May 30, 2017
by
Péter Szilágyi
Browse files
Options
Downloads
Patches
Plain Diff
cmd/puppeth: fix improper key validation for remotes
parent
b0f30b0b
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
cmd/puppeth/module_node.go
+1
-1
1 addition, 1 deletion
cmd/puppeth/module_node.go
cmd/puppeth/wizard_node.go
+1
-2
1 addition, 2 deletions
cmd/puppeth/wizard_node.go
with
2 additions
and
3 deletions
cmd/puppeth/module_node.go
+
1
−
1
View file @
ec170060
...
...
@@ -135,7 +135,7 @@ func deployNode(client *sshClient, network string, bootv4, bootv5 []string, conf
}
defer
client
.
Run
(
"rm -rf "
+
workdir
)
// Build and deploy the bootnode service
// Build and deploy the boot
or seal
node service
return
nil
,
client
.
Stream
(
fmt
.
Sprintf
(
"cd %s && docker-compose -p %s up -d --build"
,
workdir
,
network
))
}
...
...
This diff is collapsed.
Click to expand it.
cmd/puppeth/wizard_node.go
+
1
−
2
View file @
ec170060
...
...
@@ -109,8 +109,7 @@ func (w *wizard) deployNode(boot bool) {
}
else
if
w
.
conf
.
genesis
.
Config
.
Clique
!=
nil
{
// If a previous signer was already set, offer to reuse it
if
infos
.
keyJSON
!=
""
{
var
key
keystore
.
Key
if
err
:=
json
.
Unmarshal
([]
byte
(
infos
.
keyJSON
),
&
key
);
err
!=
nil
{
if
key
,
err
:=
keystore
.
DecryptKey
([]
byte
(
infos
.
keyJSON
),
infos
.
keyPass
);
err
!=
nil
{
infos
.
keyJSON
,
infos
.
keyPass
=
""
,
""
}
else
{
fmt
.
Println
()
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment